=====
This is where I keep matplotlib-related plotting utility functions I have found useful.
Installation
------
To install::
pip install plotutils
Usage
------
How to use `setfig`:
This will create a new figure (same as plt.figure() call in
matplotlib)::
>>> from plotutils import setfig
>>> setfig(None) #or setfig()
You can also set the current figure to be a given figure number, clear it, and start over, e.g.: `setfig(3)`.
`setfig(0)` will do nothing, implying you want to overplot on the currently active figure.
I use the `setfig` function in every function that I write that makes
a plot, almost always as follows:
.. code-block:: python
import matplotlib.pyplot as plt
def my_plot(x,y,fig=None,**kwargs):
setfig(fig)
plt.plot(x,y,**kwargs)
Metadata
Release files for plotutils 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plotutils-0.3.2.tar.gz | 2.8 kB | Without provenance | Details for plotutils-0.3.2.tar.gz |
Release files / plotutils-0.3.2.tar.gz
| Download URL | plotutils-0.3.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dbc767600b3e30050c5634ee3f10b5280faa19e7fb0d59e7c35f112f7009d1a
|
|
BLAKE2b-256 checksum How to use checksums |
e9efbdfd5aeacc9803f1335a9a85542c7abe89b26a0d88c96fc2d8d71747cd2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for plotutils 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.