Reputation: 1473
Is there a way to have the plots created inside Jupyter Notebook using matplotlib to appear on a separate pop-up screen that would allow you to expand/shrink the image by hand? I've tried experimenting with (%matplotlib notebook) but that didn't really do the trick.
Just wondering if this is possible.
Upvotes: 12
Views: 27125
Reputation: 21
The tkinter backend is a bit buggy (windows 10, python 3).
I used %matplotlib qt
for the matplotlib plot that we are all used to.
Upvotes: 2
Reputation: 12610
Just use an interactive backend. This works for me:
import matplotlib.pyplot as plt
%matplotlib tk
plt.plot([1, 2])
The notebook (nbagg) backend also allows for expand/shrink by hand. It has some rough edges though.
Upvotes: 19