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.0.tar.gz
(417.3 kB
view hashes)
Built Distribution
Close
Hashes for profiplots-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8997de5ba7398c585679b41a5644f8cb3bf9e306e8856125a725a7fc7cec902 |
|
MD5 | 1821d1658cd554d9ae9d15203ffd9fb5 |
|
BLAKE2b-256 | 2cdecce20a924fc774c608204020ec511ee91b556c8c570bc5deedd15d305442 |