Manipulate an embedded shape in an IPython laptop

I am using an IPython 0.12.1 laptop to connect from a Windows computer to a Linux server running the IPython kernel. Since the X server is not installed on the Linux computer, I use the following configuration:

IPKernelApp.pylab = 'inline'

which displays the numbers in a string.

IPython closes the numbers after they are drawn in the notebook. So how can I edit the shape that was just drawn? How to add a title. The drawing process takes some time for my case, and I would appreciate playing with the figure before saving it without having to redraw it.

I tried to save the shape descriptor and work with it, but I failed.

+4
source share
2 answers

I finished configuring the following in the ipython laptop configuration file:

 c.InlineBackend.close_figures = False 

The numbers are edited, but I have to close them myself, namely: close('all')

+5
source

You can enter this magic configuration:

 %config InlineBackend.close_figures = False 
+4
source

Source: https://habr.com/ru/post/1416115/


All Articles