Reputation: 73
I am creating a plot using p = figure(...), however when I run
show(p)
the plot opens up a new window. How do I make it appear in the notebook?
Thanks
Upvotes: 0
Views: 31
Reputation: 876
Assuming you are plotting with Matplotlib, you can run this line at the beginning, or just before you start plotting:
%matplotlib inline
Upvotes: 1