Package for helping data scientists create beautiful profinit-styled plots.
Project description
profiplots
Make Matplotlib and Seaborn plots with Profinit theme!
- Documentation: https://datascience.profinitservices.cz/sablony/profiplots/.
Installation
python -m pip install profiplots
Usage
import profiplots as pf
import seaborn as sns
import seaborn.objects as so
# set theme
pf.set_theme()
# create a basic plot
dataset = sns.load_dataset("titanic")
(
so.Plot(data=dataset, x="survived", y="sex")
.add(so.Bar(alpha=1), so.Agg(), legend=False)
.label(title="Female passengers survived much more frequently", x="Survival Rate", y="Sex")
.save("my_first_plot.png")
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
profiplots-2.0.0.tar.gz
(418.4 kB
view hashes)
Built Distribution
profiplots-2.0.0-py3-none-any.whl
(11.1 kB
view hashes)
Close
Hashes for profiplots-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a79a9b19d27a9eb66d565a9da60a14847cfa86a0dd4a089751f992ac226a52 |
|
MD5 | 4dbde57c5824559ddce1bbdcc015a290 |
|
BLAKE2b-256 | 6c4049b440bb84805f21bb8fbb3097f5b35c39022e0c3b65c78425e02b15e491 |