-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Python version specific matplotlibrc #10376
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
You could use the |
I'm on windows (I could accomplish the same with a bash script) but I would much rather avoid using aliases if possible. By the time I remember I forgot to use the alias I might as well just call mpl.use('TkAgg'). |
This would fit with in @anntzer 's advocacy to have the configuration just be a python script. With our current system this would be a pretty big jump in complexity. |
|
The original use-case has become obsolete due to dropping of Python 2 support. Please reopen if this is still a desirable feature. |
Bug report
Bug summary
There should be a way to use different config files for different python versions, or at least specify different backends for different versions. I have PyQt5 installed for python3, so I prefer to set my backend to Qt5Agg. But occasionally I want to run something in python2 for testing or compatibility purposes. I don't want to waste time and space installing PyQt5 on python2, so I want the backend to stay TkAgg. A workaround is to change the config files in the matplotlib installation, but these will be overwritten on the next install.
The text was updated successfully, but these errors were encountered: