Thank you. That is helpful. I now have my magical imports working all the time. The only thing that isn't working is having %matplotlib inline called only for the notebook. My normal use cases are running from a terminal or using spyder where I do not want inline.
I have put these lines in ~/.jupyter/jupyter_notebook_config.py but it doesn't work. c = get_config() # ... Any other configurables you want to set c.InteractiveShellApp.matplotlib = "inline" Why doesn't that work or what is the right approach? Thanks again, Ryan On Tuesday, August 23, 2016 at 4:42:17 AM UTC-4, takowl wrote: > > On 23 August 2016 at 02:53, Ryan Krauss <[email protected] <javascript:>> > wrote: > >> Is there anything like a user configurable template for ipython notebooks? >> > > Not yet, there's an issue where we're discussing it. > https://github.com/jupyter/notebook/issues/332 > > >> There seem to be many answers on stackexchange or wherever talking about >> how people use to do the automatic importing for IPython before Jupyter. >> Is this functionality that has been deliberately removed? >> > > It hasn't been removed. IPython, as the Python kernel for Jupyter, still > provides the same config settings to run bits of code when it starts, > including a directory of 'startup files'. > > http://ipython.readthedocs.io/en/stable/interactive/tutorial.html#startup-files > -- 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/629dcf35-ae8a-4925-9a2e-99fd109a2324%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
