Taste: Creating plots fast
Taste is a Python package wrapping Matplotlib APIs into a set of common most used plots across multiple various applications or reporting tools via clean and intuitive classes adhering to The Zen of Python.
It tries to completely isolate itself from the global Matplotlib context which can be hard to understand for a complete newbie and can cause too much unnecessary struggle.
It is easy and intuitive to use:
from taste.plots import HorizontalBarPlot
# create a plot with desired properties
plot = HorizontalBarPlot(
caption="Plot caption",
title="Figure title",
bars=[0, 1, 2, 3, 4],
values=[9, 9, 5, 8, 2],
bar_label="Here I can label the bars",
value_label="And here I label the values",
bar_axis_labels=["Tom", "Dick", "Harry", "Slim", "Jim"],
value_axis_labels=["L0", "L1", "L2", "L3", "L4"]
)
# explicitly ask to draw the plot in Jupyter notebook
plot.figure # MPL figure object
[!NOTE] Although it doesn't explicitly forbid Python 3.6 due to compatibility with some older Jupyter notebooks, it aspires to run on higher versions (3.7+). Updating is highly recommended.
Quick Installation
Taste is available on PyPI, simply issue this command in your terminal and you're good to go:
pip install taste
For more descriptive steps in various environments check Installation.
Metadata
Release files for taste 0.3.1
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 | |
|---|---|---|---|---|
| taste-0.3.1.tar.gz | 10.5 kB | Without provenance | Details |
Release files / taste-0.3.1.tar.gz
| Download URL | taste-0.3.1.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ebefff028c4dd0a3153b0e42c3ae0660768aee652a3258cd83cfa2574514ed9
|
|
BLAKE2b-256 checksum How to use checksums |
1b49a60820cf488fba6528442f97422892b0903c2962883bc17d4def320bbd7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for taste 0.3.1
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.