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.1.3.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for profiplots-2.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 933a00e4b1ac0215e7c87bf63f68fd97e575a65492af415dfede17f7497b6f1a |
|
MD5 | 780f4522b7cd42da80e7e2dd28840334 |
|
BLAKE2b-256 | 865a27176ec1ec25d60a6a5d547951eb068d043adf8830d2f73d908a50cff8d1 |