On Mon, Aug 22, 2016 at 8:43 AM, Doug Blank <[email protected]> wrote:
> I would reconsider, and perhaps just import those when you need them. Or, > create a standard way of loading them (maybe a standard magic, or create > your own). Maybe you want to create your own python module around > matplotlib, to make it even easier? > I concur... In a pinch, `%load /path/to/snippet.py` can do the job, though one could imagine a `%snippet` magic that would not leave the original command in the cell and would work off a system-wide snippet store rather than explicit paths on disk. Using %load as a guideline, writing such a `%snippet` magic is left as an exercise for the reader :) -- Fernando Perez (@fperez_org; http://fperez.org) fperez.net-at-gmail: mailing lists only (I ignore this when swamped!) fernando.perez-at-berkeley: contact me here for any direct mail -- 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/CAHAreOrJetarcRxkRAgTWxbc%3DRsvN28DeqBu2rUYnemJT4NE-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
