Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/masbicudo/plotinpy
A collection of plotting functions based on MatPlotLib.
https://github.com/masbicudo/plotinpy
matplotlib plot python
Last synced: 3 days ago
JSON representation
A collection of plotting functions based on MatPlotLib.
- Host: GitHub
- URL: https://github.com/masbicudo/plotinpy
- Owner: masbicudo
- License: apache-2.0
- Created: 2020-06-16T16:04:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T18:21:55.000Z (over 4 years ago)
- Last Synced: 2024-09-30T00:13:53.674Z (4 months ago)
- Topics: matplotlib, plot, python
- Language: Jupyter Notebook
- Size: 28.3 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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](img/example1.png)
### 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](img/example2.png)