{"id":13556178,"url":"https://github.com/Kitware/seaborn_altair","last_synced_at":"2025-04-03T09:31:00.886Z","repository":{"id":57465046,"uuid":"135860155","full_name":"Kitware/seaborn_altair","owner":"Kitware","description":"Seaborn-compatible API for interactive Vega-Lite plots via Altair","archived":false,"fork":false,"pushed_at":"2018-09-01T02:11:23.000Z","size":18311,"stargazers_count":20,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-30T11:44:11.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://kitware.github.io/seaborn_altair/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kitware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-02T23:52:02.000Z","updated_at":"2023-01-17T20:06:48.000Z","dependencies_parsed_at":"2022-08-31T03:11:47.621Z","dependency_job_id":null,"html_url":"https://github.com/Kitware/seaborn_altair","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Fseaborn_altair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Fseaborn_altair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Fseaborn_altair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitware%2Fseaborn_altair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kitware","download_url":"https://codeload.github.com/Kitware/seaborn_altair/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246976149,"owners_count":20863023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:03:40.937Z","updated_at":"2025-04-03T09:30:55.870Z","avatar_url":"https://github.com/Kitware.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook","others"],"sub_categories":[],"readme":"# seaborn_altair\n\nSeaborn-compatible API for interactive Vega-Lite plots via Altair.\n\n## Installation\n\n    pip install seaborn_altair\n\nWorks in Jupyter lab or Jupyter notebooks.\n\n## Usage\n\n    import seaborn_altair as salt\n    import seaborn as sns\n    tips = sns.load_dataset(\"tips\")\n\n    # Use salt as you would sns\n    salt.barplot(x=\"day\", y=\"total_bill\", data=tips)\n\n![barplot](https://github.com/kitware/seaborn_altair/raw/master/img/visualization.png)\n\n## API\n\nThis 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.\n\n### Axis grids\n* [FacetGrid](http://kitware.github.io/seaborn_altair/facetgrid.html) Subplot grid for plotting conditional relationships.\n* [catplot](http://kitware.github.io/seaborn_altair/catplot.html) Draw a categorical plot onto a FacetGrid.\n* [lmplot](http://kitware.github.io/seaborn_altair/lmplot.html) Plot data and regression model fits across a FacetGrid.\n* PairGrid Subplot grid for plotting pairwise relationships in a dataset.\n* pairplot Plot pairwise relationships in a dataset.\n* JointGrid Grid for drawing a bivariate plot with marginal univariate plots.\n* jointplot Draw a plot of two variables with bivariate and univariate graphs.\n\n### Categorical plots\n* [stripplot](http://kitware.github.io/seaborn_altair/stripplot.html) Draw a scatterplot where one variable is categorical.\n* swarmplot Draw a categorical scatterplot with non-overlapping points.\n* [boxplot](http://kitware.github.io/seaborn_altair/boxplot.html) Draw a box plot to show distributions with respect to categories.\n* violinplot Draw a combination of boxplot and kernel density estimate.\n* lvplot Draw a letter value plot to show distributions of large datasets.\n* [pointplot](http://kitware.github.io/seaborn_altair/pointplot.html) Show point estimates and confidence intervals using scatter plot glyphs.\n* [barplot](http://kitware.github.io/seaborn_altair/barplot.html) Show point estimates and confidence intervals as rectangular bars.\n* [countplot](http://kitware.github.io/seaborn_altair/countplot.html) Show the counts of observations in each categorical bin using bars.\n\n### Distribution plots\n* distplot Flexibly plot a univariate distribution of observations.\n* kdeplot Fit and plot a univariate or bivariate kernel density estimate.\n* rugplot Plot datapoints in an array as sticks on an axis.\n\n### Regression plots\n* [regplot](http://kitware.github.io/seaborn_altair/regplot.html) Plot data and a linear regression model fit.\n* residplot Plot the residuals of a linear regression.\n\n### Matrix plots\n* heatmap Plot rectangular data as a color-encoded matrix.\n* clustermap Plot a matrix dataset as a hierarchically-clustered heatmap.\n\n### Timeseries plots\n* tsplot Plot one or more timeseries with flexible representation of uncertainty.\n\n### Miscellaneous plots\n* palplot Plot the values in a color palette as a horizontal array.\n\n### matplotlib.pyplot utilities\n* [pyplot.hist](http://kitware.github.io/seaborn_altair/pyplot-hist.html)\n* [pyplot.plot](http://kitware.github.io/seaborn_altair/pyplot-plot.html)\n* [pyplot.scatter](http://kitware.github.io/seaborn_altair/pyplot-scatter.html)\n\n## Credit\n\nIdea from [Jake VanderPlas](https://twitter.com/jakevdp/status/996041414596214784). [I](https://twitter.com/jeffbaumes) know Python and Vega-Lite reasonably well, so decided to give it a shot.\n\nContributions and suggestions welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKitware%2Fseaborn_altair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKitware%2Fseaborn_altair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKitware%2Fseaborn_altair/lists"}