We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is from our docs.
Maybe it's time to switch to sphinx-thebe
The text was updated successfully, but these errors were encountered:
I was able to get a combination of jupyter-sphinx and sphinx-thebe working nicely with the following conf.py:
jupyter-sphinx
sphinx-thebe
conf.py
extensions = [ ... 'jupyter_sphinx', 'sphinx_thebe' ] thebe_config = { "selector": "div.jupyter_cell", "selector_output": "div.cell_output", "repository_url": "https://github.com/bqplot/bqplot", "repository_branch": "stable", }
And the following rst:
.. thebe-button:: Click me! .. jupyter-execute:: import numpy as np from bqplot import pyplot as plt plt.figure(1, title="Line Chart") np.random.seed(0) n = 200 x = np.linspace(0.0, 10.0, n) y = np.cumsum(np.random.randn(n)) plt.plot(x, y) plt.show()
And this is the result:
Sorry, something went wrong.
No branches or pull requests
This is from our docs.
Maybe it's time to switch to sphinx-thebe
The text was updated successfully, but these errors were encountered: