plox 0.0.3

Last updated:

0 purchases

plox 0.0.3 Image
plox 0.0.3 Images
Add to Cart

Description:

plox 0.0.3

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()

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.