I am starting using the interactive plotting from Matplotlib:
%matplotlib notebook
import matplotlib.pyplot as plt
fig, axes = plt.subplots(1, figsize=(8, 3))
plt.plot([i for i in range (10)],np.random.randint(10, size=10))
plt.show()
Anyone knows if there is a way to hide the toolbars of the interactive mode?

%matplotlib inlineinstead of %matplotlib notebook.inlineandnotebookis problematic, I think this question makes sense, as you may want to have that toolbar enabled for some plots and not for others in the same notebook.