Plot inside an ipython laptop

I use IPython laptops to share code and (hopefully) graphics with m-employees. unfortunately, I canโ€™t get matplotlib for a conspiracy inside the laptop, it always gives me a popup, which I obviously canโ€™t include in laptop pastes or the like.

Here are two minimal examples of how I am going to plot things.

Either withplt.show() or without a call .

this either gives me an external popup or it does nothing.

+3
source share
1 answer

You need to use the matplotlib built-in backend .

%matplotlib inline
+11

All Articles