Fixed! Thanks both for your help and thank you Matthias for teaching me to fish. ;)
On 28 May 2017, 1:20 PM +1000, Matthias Bussonnier <[email protected]>, wrote: > M is right, you can use --TerminalIPythonApp.matplotlib that should > apply only to the terminal frontend. --IPKernelApp.matplotlib would > apply only to the kernel. > > Usually when I have a question like that, I use the following (replace > matplotlib by whatever option you need) to see all the options > available. > > $ python -m ipykernel --help-all | grep matplotlib | grep '\-\-' and > $ ipython --help-all | grep matplotlib | grep '\-\-' > > all the --UpperCase.lowercase are command line flags with equivalent > c.UpperCase.lowercase you can use in config files. > Obviously the one that appear in both of the above command affect > Terminal and notebook (technically ipykernel) at the same time, those > that appear only in one affect only said command. > > -- > M (the other one). > > On Sat, May 27, 2017 at 6:26 PM, Mike Pacer <[email protected]> wrote: > > 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. > > > 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. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Project Jupyter" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jupyter/yr-whF5dhFQ/unsubscribe. > To unsubscribe from this group and all its topics, 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/CANJQusW4WyPYEFYVEj%3D9vDJ8XYve9VkTyRA9OKre37hM-F%3DbrA%40mail.gmail.com. > 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/c4d21d9a-537e-49d7-b0f9-47f6580a25f8%40Spark. For more options, visit https://groups.google.com/d/optout.
