You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spyder's IPython Console does not behave consistently with respect to Matplotlib rc settings when switching backends. The following table summarizes the problem.
Hey @mrclary, thanks for reporting. We don't respect the Matplotlib rc default parameters because we don't read them to set them in the kernel (we use the option set by users in our Preferences dialog).
I guess we'd need to do that to fix this issue, but since it's not critical, I'm going to leave it for 6.1
There are two prongs to this issue. First, if we only apply the settings conditioned on whether inline is the backend, then these settings will not incorrectly override the user's rc settings on kernel startup. Second, when switching from inline to a different backend in the same kernel, we only have to add matplotlib.rc_file_defaults() to the commands that change the backend.
mrclary
changed the title
Matplotlib rc parameter defaults not respected by interactive setting.
IPython console Matplotlib rc parameters are inconsistent when switching backends
May 15, 2024
Problem Description
Spyder's IPython Console does not behave consistently with respect to Matplotlib rc settings when switching backends. The following table summarizes the problem.
With inline graphics backend:
As shown, after switching to Qt backend, the parameters are updated to the kernel defaults (https://github.com/spyder-ide/spyder-kernels/blob/09c370aab411c954f869649279481636f666098b/spyder_kernels/console/start.py#L101C1-L116C1). Except that the
savefig.format
Versions
Dependencies
The text was updated successfully, but these errors were encountered: