A GUI tool to tweak, preview, and manage matplotlib style sheets.
Project description
Matplotlib Theme Tweaker
A simple GUI tool for adjusting, previewing, and managing matplotlib style sheets.
Current version (0.1.0) has only been tested on Windows platforms. Issues may arise on other platforms.
Installation
The software was developed using Python 3.13 and currently supports the following installation methods:
pipx install mpl-theme-tweaker
uv tool install mpl-theme-tweaker
-
For Windows users, you can also directly download the precompiled executable from the Release page.
-
Install from source code. This project uses uv as the dependency management tool. It is recommended to use uv to install project dependencies. After downloading, run the following command to install dependencies:
uv sync
Basic Usage
After installing via methods 1-3 above, you can run the mpl-theme-tweaker command in the command line or double-click the application icon to start the tool.
If you installed via method 4, you need to execute the main.py file to run the software. The software interface is as follows:
Users can adjust parameters in different configuration sections and observe the changes on the image.
Filemenu: Used to export style filesViewmenu: Used to control software views and themesStylemenu: Used to switch between different style sheets
Multi-language Support
The software uses Python's gettext module for internationalization, and uses the Gnu gettext tool to create translation files with the following command:
msgfmt messages.<LANG_ID_CODE>.po -o messages.mo
Currently supports Chinese and English. Translation files are located in the src/mpl_theme_tweaker/assets/locale/ directory.
Users who need other languages can copy the messages.en.po file and translate it themselves.
Todo
- Custom formula fonts
- Add more example images
- Add code tests (multi-platform)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mpl_theme_tweaker-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mpl_theme_tweaker-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3509170a2d89af70aa2037b760e38999c278650e09043d1b0d4a84eda56aad17
|
|
| MD5 |
3e8f39c4564ae3e227256155ab103882
|
|
| BLAKE2b-256 |
370cea671b44df2393a5d881db336916e50e073afcb9fa05949f95c03e4b139b
|