Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matplotlib/mpl-gui
Prototype for mpl-gui module
https://github.com/matplotlib/mpl-gui
Last synced: 3 months ago
JSON representation
Prototype for mpl-gui module
- Host: GitHub
- URL: https://github.com/matplotlib/mpl-gui
- Owner: matplotlib
- License: bsd-3-clause
- Created: 2021-04-17T00:14:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T22:11:34.000Z (12 months ago)
- Last Synced: 2024-04-14T01:46:25.787Z (7 months ago)
- Language: Python
- Homepage: https://matplotlib.org/mpl-gui
- Size: 1.63 MB
- Stars: 13
- Watchers: 9
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
=======
mpl-gui
=======.. image:: https://img.shields.io/pypi/v/mpl-gui.svg
:target: https://pypi.python.org/pypi/mpl-guiPrototype project for splitting pyplot in half
* Free software: 3-clause BSD license
* Documentation: https://matplotlib.github.io/mpl-gui.Motivation
----------This project is a prototype space for overhauling the GUI event loop management
tools that Matplotlib provides in pyplot.The pyplot module current serves two critical, but unrelated functions:
1. provide a state-full implicit API that rhymes / was inspired by MATLAB
2. provide the management of interaction between Matplotlib and the GUI event
loopWhile it can be very convenient when working at the prompt, the state-full API
can lead to brittle code that depends on the global state in confusing ways,
particularly when used in library code. On the other hand,
``matplotlib.pyplot`` does a very good job of hiding from the user the fact
that they are developing a GUI application and handling, along with IPython,
many of the details involved in running a GUI application in parallel with
Python.