Skip to content

Jupyter FAQ

Sylwester Arabas edited this page May 10, 2023 · 3 revisions

How to make Jupyter store matplotlib plots as vector graphics and offer a download pdf button next to each plot?

Use open-atmos-jupyter-utils.show_plot() instead of matplotlib.pyplot.show()!

How to execute nbqa locally with the same options as in the Github Actions scripts

Try executing the line that fgrep -h nbqa .github/workflows/*.yml | grep ls-files outputs
(which will look like: nbqa pylint --disable=fixme $(git ls-files '*.ipynb')).

Clone this wiki locally