question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder quits when removing a plot and save plots dialog is wrong.

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

  1. The dialog when saving multiple plots in the plots pane is wrong, it should be the dialog that says “Save” Screen Shot 2020-04-23 at 4 15 59 AM

  2. Spyder quits unexpectedly when removing a plot from the context menu.

issue

What steps reproduce the problem?

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: Spyder 4.2.0.dev0 (Commit: 89791cb28)
  • Python version: 3.7.4
  • Qt version: 5.9.6
  • PyQt version: 5.9.2
  • Operating System name/version: macOS Catalina 10.15.3

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
goanpecacommented, Apr 27, 2020

I can try to fix it. It does happen to me as well.

1reaction
jnsebgosselincommented, Apr 23, 2020
  1. I think it is Ok to use getExistingDirectory for the feature to save all figures to disk. Since we are saving multiple figures, I don’t see how the “getSaveFileName” would work… The idea is to select a directory where all figures are saved in batch in that directory. The names of the figures are determined programattically.

  2. Thank you very much for finding this nasty bug! In Windows everything is working fine though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IPython support: save file dialog crashes (matplotlib figure) #422
I restated the Ipython interpreter, I restarted spyder but the patch is still active.
Read more >
Spyder 4 is not displaying plots and displays message like this ...
Spyder 4 is not displaying plots and displays message like this 'uncheck "Mute Inline Plotting" under the Plots pane options menu.'.
Read more >
First Steps — Spyder 5 documentation
First Steps¶. If Spyder crashes or you receive an error message, please read the following troubleshooting steps before opening a new issue.
Read more >
PySimpleGUI
Input values are collected, but rather than closing the window, it is kept visible acting as a way to both output information to...
Read more >
MATLAB vs Python: Why and How to Make the Switch
In this step-by-step tutorial, you'll learn about MATLAB vs Python, why you should switch from MATLAB to Python, the packages you'll need to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found