-
- Downloads
Fixed bugs with moving status
parent
9ee10ba5
No related branches found
No related tags found
Showing
- book/_toc.yml 1 addition, 0 deletionsbook/_toc.yml
- book/cookbook/benchmarks/benchmark_noexec.ipynb 58 additions, 0 deletionsbook/cookbook/benchmarks/benchmark_noexec.ipynb
- book/cookbook/benchmarks/benchmark_tags.ipynb 2 additions, 1 deletionbook/cookbook/benchmarks/benchmark_tags.ipynb
- thebe_lite/_static/code.css 4 additions, 1 deletionthebe_lite/_static/code.css
- thebe_lite/_static/sphinx-thebe.js 14 additions, 2 deletionsthebe_lite/_static/sphinx-thebe.js
%% Cell type:markdown id: tags: | ||
# Benchmarks: cell tags | ||
This page includes benchmarks for the behaviour of different cell tags with Thebe. | ||
%% Cell type:code id: tags:thebe-init | ||
%% Cell type:code id: tags:thebe-init,disable-download | ||
``` python | ||
# Thebe init | ||
print("This should show on startup") | ||
``` | ||
%% Cell type:code id: tags:hide-input | ||
``` python | ||
# Hide input | ||
print("You shouldn't be able to see this without expanding the dropdown.") | ||
print("But the output should be shown outside of it!") | ||
``` | ||
%% Cell type:code id: tags:thebe-remove-input-init | ||
``` python | ||
# Remove input | ||
print("This should be shown despite the lack of input.") | ||
``` | ||
%% Cell type:code id: tags:thebe-remove-input-init | ||
``` python | ||
# Remove input should preserve placeholder output | ||
print("This output should still be shown until execution.") | ||
``` | ||
%% Output | ||
This output should still be shown until execution. | ||
%% Cell type:code id: tags: | ||
``` python | ||
# Predefined output should be removed upon execution | ||
print("Already ran this locally") | ||
``` | ||
%% Output | ||
Already ran this locally | ||
%% Cell type:code id: tags:hide-input | ||
``` python | ||
# Hide input with predefined output should show predefined output until execution | ||
print("I'm free from the dropdown!") | ||
``` | ||
%% Output | ||
I'm free from the dropdown! | ||
%% Cell type:code id: tags: | ||
``` python | ||
``` | ||
... | ... |
Please register or sign in to comment