Matplotlib template for SuperMongo style
Project description
smplotlib
Matplotlib template for SuperMongo (SM) style. Make your plots stylish and professional (and old-school) by one line of code.
Installation
pip install smplotlib
or
git clone
cd smplotlib
pip install -e .
Usage
import smplotlib
Here's an example figure generated following python demo.py
(scientifically it's not that correct, but it's just an example). This figure is inspired by the two-phase ISM figure in Prof. Bruce Draine's book.
Hershey font
SuperMongo uses Hershey fonts. The ttf
files are from a compilation by astronomer yangcht
. Thanks for the great work!
There have been many efforts on translating the original Hershey font to modern formats, also see this and this. The font files in this repo still lack some characters, and the support for LaTeX and light weight fonts are not satisfying. If you have any suggestions, please feel free to open an issue or pull request.
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
Built Distribution
Hashes for smplotlib-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 559f254aba0c3b3883cffd56870111435088e714e27fed5e817661bd2d849078 |
|
MD5 | ab0adf6a7b6ccdb33524d8221127308e |
|
BLAKE2b-256 | 6c7e6e178f7770b1c8b6022269a05f996360d860d516259063492f49f7de5800 |