Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.64 KB

File metadata and controls

54 lines (41 loc) · 1.64 KB

Matplotlib Theme Editor

Matplotlib Editor Screenshot

Overview

Matplotlib Editor is a lightweight interactive tool for creating, editing, and exporting stylesheets for matplotlib.
It provides a simple interface to tweak plot elements such as colors, linestyles, and fonts without rewriting code from scratch.

This tool is useful for:

  • Researchers and students who want to define a custom, polished stylesheet for matplot and seaborn.
  • Designers who need a fast way to prototype visualizations.
  • Anyone who works with matplotlib and wants to customize existing themes.

Features

  • Interactive editing of matplotlib styles.
  • Real-time preview for multiple plot types (line, scatter, bar, etc.).
  • Import/Export as json and yaml format.

Installation

Clone the repository and install required dependencies:

git clone https://github.com/yourusername/matplotlib-editor.git
cd matplotlib-editor
pip install -r requirements.txt

Usage

Run the editor with a sample script:

streamlit run editor.py

This will open a web interface where you can upload your matplotlib scripts and start editing.

Contributing

Pull requests are welcome! If you’d like to contribute:

  • Fork the repo
  • Create a feature branch (git checkout -b feature/new-feature)
  • Commit your changes
  • Open a Pull Request

Contributors

Thanks to all the contributors who have helped improve this project!

  • @narduzzi
  • ChatGPT5 - Agent mode

License

This project is licensed under the MIT License. See the LICENSE file for details.