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
Prevent %pylab from clobbering interactive #5071
Comments
Seeing that I'm in favor of closing at "nothing to be done" unless someone else object. |
I think this needs more thought Sent from my iPhone
|
It I deprecated? I've never seen a deprecation warning when using it. |
I am not sure if we are going to formally deprecate |
You will just not see any reference to it in the doc except on auto generated one. |
not using it in tutorial. Comment edited. |
Idea : replace |
Also, why not suggest to the user (print to screen) to use %matplotlib |
We now do that if we've clobered something: In [1]: plt = 'pilot'
In [2]: %pylab
Using matplotlib backend: agg
Populating the interactive namespace from numpy and matplotlib
WARNING: pylab import has clobbered these variables: ['plt']
`%matplotlib` prevents importing * from pylab and numpy |
Thanks! |
Currently,
%pylab
clobbersinteractive
. It's probably best not to importinteractive
from matplotlib at all.The text was updated successfully, but these errors were encountered: