Open mmcky opened 2 years ago
The following code blocks are all setup in the notebook as executable blocks.
In jupyter-book context the code-cell should be the only one that is executable
jupyter-book
code-cell
In sphinx context the code-cell should bet he only one that is executable
sphinx
```{code-cell} python3 jv = JVWorker(grid_size=25, mc_size=50) plot_grid_max, plot_grid_size = 1.2, 100 plot_grid = np.linspace(0, plot_grid_max, plot_grid_size) fig, ax = plt.subplots() ax.set_xlim(0, plot_grid_max) ax.set_ylim(0, plot_grid_max)
jv = JVWorker(grid_size=25, mc_size=50) plot_grid_max, plot_grid_size = 1.2, 100 plot_grid = np.linspace(0, plot_grid_max, plot_grid_size) fig, ax = plt.subplots() ax.set_xlim(0, plot_grid_max) ax.set_ylim(0, plot_grid_max)
The following code blocks are all setup in the notebook as executable blocks.
In
jupyter-book
context thecode-cell
should be the only one that is executableIn
sphinx
context thecode-cell
should bet he only one that is executable