/spiffyplots

A collection of matplotlib style sheets and plotting tools for publication-ready figures

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

SpiffyPlots

Build Status codecov Documentation Status PyPI version GitHub last commit GPLv3 license

A collection of matplotlib style sheets and plotting tools for publication-ready figures.

Simple style example:

style example

Installation

Install the latest release:

pip install spiffyplots

or install the latest commit directly from GitHub:

pip install git+https://github.com/JRBCH/spiffyplots.git

Features

  • Matplotlib style sheets

  • Multi-panel figures

    • Easy and flexible wrapper of matplotlib's GridSpec
    • Automatic labelling of sub-panels
    • Support for custom panel arrangements and labels

Future Plans

  • Journal-specific style sheets
  • Automatic optimization of figure size for multipanel figures
  • color module for quick access to colors and cmaps
  • panel wrapper class for matplotlib axes objects with custom plotting methods for often used plots.

Credits

  • This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

  • The idea for easy-to-use and pypi-deployable matplotlib stylesheets stems from John Garrett's SciencePlots package.