seaborn_altair

Seaborn-compatible API for interactive Vega-Lite plots via Altair.

Installation

pip install seaborn_altair

Works in Jupyter lab or Jupyter notebooks.

Usage

import seaborn_altair as salt
import seaborn as sns
tips = sns.load_dataset("tips")

# Use salt as you would sns
salt.barplot(x="day", y="total_bill", data=tips)

barplot

API

This is only a proof of concept at this time. Only a subset of Seaborn plots (the ones with example links) are currently available with limited support.

Axis grids

Categorical plots

Distribution plots

Regression plots

Matrix plots

Timeseries plots

Miscellaneous plots

matplotlib.pyplot utilities

Credit

Idea from Jake VanderPlas. I know Python and Vega-Lite reasonably well, so decided to give it a shot.

Contributions and suggestions welcome!