Skip to main content

PlotInPy is a collection of plotting functions made on top of MatPlotLib.

Project description

PlotInPy

This is a collection of plotting functions that I am creating to contain everything I find useful on the topic of plotting in Python. These are not code snippets though. Each function is intended to be as robust as possible, to support (for example) being used inside subplots, using gridspecs, and so on. Maybe they are not perfect... yet! The intention is to improve them until they are.

Examples

Broken bars

plt.figure()
pnp.plot_bars_with_breaks([1,2,30],[(15,25)])
plt.savefig("img/example1.png")

Example 1

Styled broken bars

plt.figure()
pnp.plot_bars_with_breaks([1,2,30, 1000],[(15,25), (50, 975)], style="~~", break_args={"hatch": '///'})
plt.savefig("img/example2.png")

Example 2

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

plotinpy-0.1.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page