https://github.com/medlab/matplotlibqml
Matplotlib Mini QML/QWidget Backend
https://github.com/medlab/matplotlibqml
matplotlib-backend python qml qwidget
Last synced: about 2 months ago
JSON representation
Matplotlib Mini QML/QWidget Backend
- Host: GitHub
- URL: https://github.com/medlab/matplotlibqml
- Owner: medlab
- License: mit
- Created: 2021-03-18T03:00:00.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-21T11:05:45.000Z (almost 5 years ago)
- Last Synced: 2025-08-18T22:49:07.572Z (7 months ago)
- Topics: matplotlib-backend, python, qml, qwidget
- Language: Python
- Homepage:
- Size: 1.14 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
A matplotlib mini backend always base on the latest QT for Python, no compatible will be care
Focus on Qt 6 (will always point to the latest) for Python and QML/QWidget as main user case, only desktop application will be care
Mainly base on:
1. https://github.com/jmitrevs/matplotlib_backend_qtquick
2. https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/backend_qt5.py
3. https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/backend_qt5agg.py
The module can run as qml demo application itself, like:
```bash
python -m matplotlibqml
```
A standalone classic QWidget sample(pure QWidget) is provided too, like:
```bash
python -m matplotlibqml.widgetdemo
```
# 你好


Why
=================
QT keep improving and changing, and compatibility will kill flexibility, especially when upstream not so stable
Credit:
=================
1. https://github.com/fcollonval/matplotlib_qtquick_playground
2. https://github.com/jmitrevs/matplotlib_backend_qtquick
3. https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/backend_qt5.py
4. https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/backend_qt5agg.py
5. Some weekend play for fun self Python project