Skip to main content

Prototype project for splitting pyplot in half

Project description

https://img.shields.io/pypi/v/mpl-gui.svg

Prototype project for splitting pyplot in half

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 loop

While 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpl-gui-0.0.1.tar.gz (43.6 kB view hashes)

Uploaded Source

Built Distribution

mpl_gui-0.0.1-py3-none-any.whl (18.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page