-
-
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 is ignoring matplotlib user settings #10932
Comments
I can confirm this. If we offer an option to "Activate support", I guess it should disable interactive plotting when unchecked unless specified manually by the user. Should we change "Activate support" to "Activate interactive plotting"? |
It would be helpful to have a command in terminal that disables this default behavior. I am running a Spyder version in a computer for which I am not the admin so I cannot update, and I don't have the "figures" pane, so I cannot disable the default behavior. |
I'm using Spyder 4.1.1(just updated), my plots pane is not displaying any plot and showed not responding. I tried unchecking the mute inline but just doesn't work. The code gets executed but doesn't display plots. |
I know this issue is old, but I've been making some updates to Spyder's graphics support; see #22088. Regarding the OP. A Jupyter QtConsole defaults to inline graphics, even if a backend is specified in a user's |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
If I uncheck "Activate support" under Tools > Preferences > IPython > Graphics, my plots are still going to the plot pane, and not to a separate plot window. In previous versions, I always had the graphics support disabled and handled all matplotlib stuff externally, and it always worked perfectly. Now, even with the environmental variable "MPLBACKEND" set to "TkCairo" and the backend set in matplotlibrc, I still get this:
If I instead import it like this:
everything seems fine, but plots are still shown as non-vectorial images in the plot pane
If I activate IPython graphics support and select Tkinter as backend, it works as expected, except that it do not wait for the
plt.show()
call.What steps reproduce the problem?
import matplotlib.pyplot as plt
plt.plot([1,2,3])
What is the expected output? What do you see instead?
Expected: no output until
plt.show()
is called, and when it is, a separate window pop out showing the vectorial plot.Observed: rendered non-vectorial plot is immediately shown in the plot pane.
Versions
Dependencies
Btw, I loved the new features and visual of those 4.0 releases, thanks a lot for all the work in this amazing IDE :)
The text was updated successfully, but these errors were encountered: