Context manager for matplotlib figures
Project description
Context manager for matplotlib figures.
Example:
from plox import Plox, rcParam from pathlib import Path # https://matplotlib.org/tutorials/introductory/customizing.html style = { rcParam.Legend.fontsize: "large", rcParam.Xtick.labelsize: "large", rcParam.Ytick.labelsize: "large", } with Plox(style) as px: px.a.plot([1, 2, 3], [4, 3, 5], 'o--') px.f.savefig(Path(__file__).with_suffix('.png')) px.show()
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 Distribution
plox-0.0.3.tar.gz
(7.2 kB
view hashes)
Built Distribution
plox-0.0.3-py3-none-any.whl
(8.0 kB
view hashes)