pip install jupyter
jupyter notebook
%matplotlib inline sets the backend of matplotlib to the 'inline' backendarrow-up-right:
%matplotlib inline
With this backend, the output of plotting commands is displayed inline within frontends like the Jupyter notebook, directly below the code cell that produced it. The resulting plots will then also be stored in the notebook document.
In the environment, run pip install ipykernel
pip install ipykernel
Last updated 1 year ago