-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Mac: Save button not working on 1.5.0 or 2.x with backend.qt4 in ipython 4 #5689
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
Comments
just to confirm, this is a regression from 1.4.3? |
I can reproduce on 1.4.3 |
ok, so not a regression. This is tickling something in the back of my mind as having seen this before and it getting fixed, but details are not forth coming. attn @mfitzp |
I can't seem to reproduce with Homebrew Python 2.7.11 and pyside. What Python are you using and how did you install PySide? |
Nevermind, if I run in IPython, I can reproduce. Regular Python interpreter works, though. |
I wonder if this is related to the ipython inputhook? On Mon, Dec 21, 2015, 16:43 Michael Droettboom [email protected]
|
That's my suspicion, but I haven't had much time to look at it. |
Fix save button in GUIs closes #5689
Sorry -- I think I introduced confusion by not being clear enough in the PR descriptions. d041565 doesn't fix this bug. This bug has to do with the save dialog displaying briefly. d041565 (and #5720) fix a bug that only happens after the user has had a chance to select a filename and begin drawing and saving the file. I've been poking at this bug without any success -- I think it's something pretty low-level in how the IPython input hook is set up, and (I think) used to work and recent PySide changes broke it. |
sorry 🐑 |
No worries. It would be hard to know they were different from the descriptions alone. |
@tacaswell with #5690 patched, I have only been able to produce this bug when running ipython with %pylab or %matplotlib. |
@Carreau who is the right IPython person to ping about input hook + qt + pyside issues? |
hum... I take my chance with @minrk that know all the things. I'll have a look too. |
This is not a pyside-specific issue; I see it with an Anaconda installation using pyqt 4.11.4. @minrk, any chance you can look into this? |
I think this may be a OSX specific issue as well. It works correctly on linux. |
I'll see what I can find out. |
I had this problem with both PySide and PyQt. However, updating to IPython 5.1.0 seems to solve the issue. Also improves the window redraw when resized on qt5. |
I can reproduce it using ipython with or without '--pylab' or any gui magic ( |
Closing as the last report is that this is fixed with recent ipython versions. Feel free to reopen if still present with even more recent ipythons. |
When trying to save a figure in matplotlib 1.5.0 with
backend:Qt4Agg
andbackend.qt4:PySide
the save button is not functional. The save dialog opens and then immediately closes.Click the save button.
plt.savefig()
still works.I have been able to reproduce this behavior on Mac (OSX 10.11) in both Enthought and Anaconda's matplotlib 1.5.0.
The text was updated successfully, but these errors were encountered: