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

Matplotlib figure window freezes during interactive mode #1059

Closed
gujax opened this issue Aug 7, 2012 · 4 comments · Fixed by #1078
Closed

Matplotlib figure window freezes during interactive mode #1059

gujax opened this issue Aug 7, 2012 · 4 comments · Fixed by #1078

Comments

@gujax
Copy link

gujax commented Aug 7, 2012

Hi,
I work in interactive mode and using pyplot in the IDLE shell.
I tried this simple code

from pylab import *
ion()
plot([1,2,3])

A window pops up but freezes and nothing shows up except it says at the top - not Responding.

Therefore, I tried the following.
Set my backend to be Tkagg and then set the interactive mode to True

Again wrote the above code (without ion())
...but same thing. Figure window freezes.

I tried other backends but to no effect.

Otherwise plot works when not in interactive mode. However, everytime I have to close the figure window to proceed with my calculations. I really would like to have the plots open when I am calculating.
Please advice. Help is appreciated,
Thank you,
gujax

@efiring
Copy link
Member

efiring commented Aug 7, 2012

Interactive mode is not supported in idle; please try ipython instead.

@efiring efiring closed this as completed Aug 7, 2012
@pelson
Copy link
Member

pelson commented Aug 8, 2012

Interactive mode is not supported in idle; please try ipython instead.

I think that is a fair statement to make, but when looking this up I didn't find this explicitly stated in the documentation. Would you agree, or have I missed something? If it isn't documented, then I think the action for this issue should be to explicitly state the lack of support for IDLE in our documentation (and point the way to ipython).

@gujax
Copy link
Author

gujax commented Aug 8, 2012

Thank you and as Phil mentions, I spent hours figuring this out, guided by
the doc pages on Matplotlib. An explicit mention would have saved lot of
trouble. Or else I am missing something, that perhaps there is a way to
configure other IDEs to plot interactively,
Gujax

On Wednesday, August 8, 2012, Phil Elson wrote:

Interactive mode is not supported in idle; please try ipython instead.

I think that is a fair statement to make, but when looking this up I
didn't find this explicitly stated in the documentation. Would you agree,
or have I missed something? If it isn't documented, then I think the action
for this issue should be to explicitly state the lack of support for IDLE
in our documentation (and point the way to ipython).


Reply to this email directly or view it on GitHubhttps://github.com//issues/1059#issuecomment-7579632.

@WeatherGod
Copy link
Member

On Wed, Aug 8, 2012 at 7:08 AM, gujax notifications@github.com wrote:

Thank you and as Phil mentions, I spent hours figuring this out, guided by
the doc pages on Matplotlib. An explicit mention would have saved lot of
trouble. Or else I am missing something, that perhaps there is a way to
configure other IDEs to plot interactively,
Gujax

FWIW, we have now added a mention of this in the upcoming release for the
documentation.

Ben Root

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

Successfully merging a pull request may close this issue.

4 participants