Skip to main content

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

Metadata

Release files for plotinpy 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plotinpy 0.1.1
File Size Uploaded
plotinpy-0.1.1.tar.gz 4.6 kB Details

Release files / plotinpy-0.1.1.tar.gz

Download URL plotinpy-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a8002a906a66a3b438508bbfe3879006b712165c6eaa3b7e7ee621f69cde2d23
BLAKE2b-256 checksum
How to use checksums
a62fc009adfa622e5f21232fa4342bf9a4d0eb98745e9b26701e0441b61dcdb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page