Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magic function conflict while using --pylab #1557

Closed
vkuznet opened this issue Apr 6, 2012 · 2 comments
Closed

magic function conflict while using --pylab #1557

vkuznet opened this issue Apr 6, 2012 · 2 comments
Milestone

Comments

@vkuznet
Copy link

vkuznet commented Apr 6, 2012

Hi, I found that usage of --pylab introduce a magic function conflicts with the ones I defined in my code. Could someone provide an example how to avoid those conflicts. For example I define my own %find and once I load my code with --pylab it is redefined it with one from matplotlib.

@ivanov
Copy link
Member

ivanov commented Apr 6, 2012

pass this flag at the command line: --InteractiveShellApp.pylab_import_all=False - this will still make the pylab mode work, but won't import anything from the name space. (you can also make this change permanent by putting that line in your profile). Please let us know how that works for you.

@minrk
Copy link
Member

minrk commented May 8, 2012

closing as there has been no response for a month, and @ivanov's answer should resolve the issue.

@minrk minrk closed this as completed May 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants