plot_highlight is a Python visualization library based on seaborn.
Project description
Plot Highlight
plot_highlight is a Python visualization library based on seaborn.
This liblary is inspired by gghighlight package in R.
Installation
Use pip
pip install plot-highlight
Usage
Draw seaborn charts, highlighting the specific items.
The following seaborn functions are supported.
sns.scatterplotsns.lineplotsns.histplot
📊 Scatter plot with highlight
import seaborn as sns
df = sns.load_dataset('tips')
import plot_highlight as phl
phl.scatterplot(data=df, x='total_bill', y='tip', hue='day', highlights=['Sat', 'Sun'])
📊 Line plot with highlight
import seaborn as sns
df = sns.load_dataset('healthexp')
import plot_highlight as phl
phl.lineplot(data=df, x='Year', y='Life_Expectancy', hue='Country', highlights=['Japan', 'USA'])
📊 Histgram with highlight
import seaborn as sns
df = sns.load_dataset('penguins')
import plot_highlight as phl
phl.histplot(data=df, x='flipper_length_mm', hue='species', highlights='Adelie')
License
This software is released under the MIT License, see LICENSE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plot_highlight-0.1.0.tar.gz.
File metadata
- Download URL: plot_highlight-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d771e7793d76f1b6e13a139aab060b73e745899d637b834a982183dfe127182b
|
|
| MD5 |
8c09e21935769716d84736662bb96ee2
|
|
| BLAKE2b-256 |
c11ec39974c880853f287ccf33dbf324c85bf29315fd136c307cd308346fe619
|
File details
Details for the file plot_highlight-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plot_highlight-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cfeda3c55f615a73046e82803c034e96671ca5b45d619ec42991504be0ebd7a
|
|
| MD5 |
bbdf6980dc8fb2db781add28d49191cb
|
|
| BLAKE2b-256 |
582de14343142293c351d3c23e2f51579f6abc234bbc533f6ff8bd9260232aef
|