I'm guessing you can probably set it at a more specific level, but I'm not sure off the top of my head.
But I can suggest an alternative solution. Use matplotlib 2+ and it's matplotlib.pyplot.ion() function. Doing that should not require you to specify any particular backend. It also makes your notebooks easier to export to a valid script. Cheers, M On Sat, May 27, 2017 at 18:13 Juan Nunez-Iglesias <[email protected]> wrote: > Hi, > > I mostly use the IPython terminal when doing exploratory data analysis > with Python. I used to call `ipython --matplotlib` each time until I found > the `c.InteractiveShellApp.matplotlib = 'auto'` setting in > ipython_config.py. However, now when I run a Jupyter notebook, if I try to > use %matplotlib notebook, I get the error message: > > Warning: Cannot change to a different GUI toolkit: notebook. Using osx > instead. > > Is there a way to specify that I only want the 'auto' setting for the > IPython terminal, *not* for Jupyter kernels? > > Thanks! > > Juan. > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/7b117721-9f9b-47eb-b302-463f404db285%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/7b117721-9f9b-47eb-b302-463f404db285%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAM3SX47HGyyXiySu9EU1bzFkGCAz_RHO1-5At%2B4V883PqhPgDQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
