NicePlots
A collection of nice styles and helper functions for matplotlib
How do I install?
NicePlots can be pip installed directly from PyPI
pip install niceplots
If you want to make changes
- Clone this repository, then enter the folder in the command line terminal.
- Enter
pip install -e .within theniceplotsfolder.
Font installation
As of v2.6.0, NicePlots now comes packaged with the fonts required for its custom styles, so you don't need to install them yourself.
How do I get set up?
import matplotlib.pyplot as pltandimport niceplotsat the top of a file where you would like to use any function defined in this package.- Use
plt.style.use(niceplots.get_style())to set some defaults for nice-looking plots. You can also try passing different styles toget_style(), such as NicePlots'"james-dark"or any of matplotlib's styles (see the function's documentation for a full list of available NicePlots styles). - Take advantage of NicePlots' helper functions, including (but not limited to)
adjust_spines,horiz_bar, andplot_nested_pie, which are all documented in the examples gallery. - Admire your beautiful data.
Do you have docs?
Sort of, you can find our examples gallery and API documentation here
Help, my old NicePlots code doesn't work anymore!
We made a couple of changes to the API in version 2.0.0, most of them can be fixed with a simple find and replace. Check the release notes for more details.
Contribution guidelines
Make any changes you see fit. Please fork your own version and submit a pull request.
Who do I talk to?
Please post questions and suggestions to either the issues (if it's concerning a bug) or discussions tab on the NicePlots GitHub repo.
Metadata
Release files for niceplots 2.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| niceplots-2.6.3-py3-none-any.whl | Python 3 | none | any | Details for niceplots-2.6.3-py3-none-any.whl |
Release files / niceplots-2.6.3-py3-none-any.whl
| Download URL | niceplots-2.6.3-py3-none-any.whl |
|---|---|
| Size | 6.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9495781124ad7e7ad4ac601876c69d43e7467dde0d97d14ab9b92754c9be6461
|
|
BLAKE2b-256 checksum How to use checksums |
c4147b703fa0fdca0863f555f7acd15070c1020b61eb1b72e664f794c578c6bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Security for niceplots 2.6.3
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.