-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Spyder opening/closing matplotlib window problem #4272
Comments
This is (probably) a duplicate of issue #4002. What happens if you run twice (before plotting for the first time with the inline backend)
? |
running %matplotlib qt5 I get: |
Sorry, I didn't see you're using Qt4. Then what happens if you run twice
? |
Still the same, the windows pops up quickly then shuts down. |
Please post a complete and simple code that generates this problem, so we can test and debug it in our side. |
#!/usr/bin/env python2 from obspy import read |
What does |
Without any argument it will just read and plot some inside example |
This was fixed in 3.1.4, please update. |
Hi, I am having the same problem. Spyder Version: 3.2.3 IPython >=4.0;<6.0: 5.4.1 (OK) |
Description of your problem
What steps will reproduce the problem?
I'm using the python library obspy. They have a class method to plot signal, which is class_name.plot(). When running it under Spyder, the window pops up really quickly then disappears. When running it in "inline" mode there is no problem of display. Moreover when in "automatic" mode (tools>preferences>python) when running a classical matplotlib.pyplot.show() it has no problem of showing the figure in a new window
What is the expected output? What do you see instead?
class_name.plot() should give an interactive plot
Please provide any additional information below
Versions and main components
Dependencies
Please go to the menu entry
Help > Optional Dependencies
(orHelp > Dependencies
), press the buttonCopy to clipboard
and paste the contents below:
jedi =0.9.0 : 0.9.0 (OK)
matplotlib >=1.0 : 1.5.3 (OK)
nbconvert >=4.0 : 5.1.1 (OK)
numpy >=1.7 : 1.12.0 (OK)
pandas >=0.13.1 : None (NOK)
pep8 >=0.6 : 1.7.0 (OK)
psutil >=0.3 : 5.1.3 (OK)
pyflakes >=0.5.0 : 1.5.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.6.4 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4 (OK)
sphinx >=0.6.6 : 1.5.2 (OK)
sympy >=0.7.3 : None (NOK)
The text was updated successfully, but these errors were encountered: