Skip to main content

Package for helping data scientists create beautiful profinit-styled plots.

Project description

profiplots

Make Matplotlib and Seaborn plots with Profinit theme!

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


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.4.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

profiplots-2.1.4-py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page