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-1.0.0rc0.tar.gz
(414.7 kB
view hashes)
Built Distribution
Close
Hashes for profiplots-1.0.0rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ea49d2538a7964e3ca4a2e134102051032fbaaa926d3c8aa96c49138fc4aaf2 |
|
MD5 | 7a21be97233c11c79f14a72838f86ca2 |
|
BLAKE2b-256 | b353099341beaa8aa18f78b82fb58f244974afe7a3db02c6c6e4747273df8443 |