Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anntzer/mplcustomrc
Custom logic in your matplotlibrc
https://github.com/anntzer/mplcustomrc
Last synced: 10 days ago
JSON representation
Custom logic in your matplotlibrc
- Host: GitHub
- URL: https://github.com/anntzer/mplcustomrc
- Owner: anntzer
- License: mit
- Created: 2019-08-24T22:06:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-22T18:58:42.000Z (about 3 years ago)
- Last Synced: 2024-10-27T12:50:24.226Z (about 2 months ago)
- Language: Python
- Size: 45.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Use Python for your matplotlibrc
================================Set your backend to "module://mplcustomrc.the_backend_of_your_choice"
(e.g. "module://mplcustomrc.qt5agg") and put the code of your choice in
``Path(mpl.get_configdir(), "matplotlibrc.py")``. This file will be ``exec``'d
when setting up pyplot.This is intended for custom logic in setting up your matplotlibrc, e.g.
.. code-block:: python
from matplotlib import rcParams
if some_logic:
rcParams["some.rc.key"] = some_value