April 2018
Beginner to intermediate
300 pages
7h 34m
English
To access the interactive navigation toolbar in a Jupyter Notebook, first call the Jupyter cell magic:
%matplotlib notebook
We will demonstrate with a plot with a more dynamic shape:
import numpy as npimport matplotlib.pyplot as plty = np.linspace(1,2000)x = 1.0/np.sin(y)plt.plot(x,y,'green')plt.xlim(-20,20)plt.ylim(1000,2400)plt.show()
As shown in the illustration, here we have a Christmas-tree-shaped plot embedded within a GUI box:

You can find a tool bar in the bottom-left corner. The button functions from left to right are as follows:
Read now
Unlock full access