Skip to content

Jupyter widget for quick visualization of Pandas dataframes using Vega and Altair

License

Notifications You must be signed in to change notification settings

baldwint/autovega

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autovega

autovega is an IPython/Jupyter notebook widget for quick visualization of Pandas dataframes using Vega and Altair.

Usage Screencast

Usage

Import autovega and call register_renderer at the top of your notebook.

import autovega
autovega.register_renderer()

Now, whenever Jupyter displays a dataframe, it will also render a GUI for choosing one of several plot types and encodings.

Alternatively, to use the widget selectively (without registering it as the default dataframe renderer in Jupyter), use the display_dataframe function to wrap your dataframes.

autovega.display_dataframe(df)

Installation

Follow Altair's instructions for installing and configuring altair and vega3. Then install autovega:

pip install autovega

Or, for the development version:

pip install -e git+https://github.com/baldwint/autovega.git#egg=autovega

Prior Art

This module is inspired by autovizwidget, which provides a similar functionality using Plotly as backend.

About

Jupyter widget for quick visualization of Pandas dataframes using Vega and Altair

Resources

Stars

Watchers

Forks