Skip to content
forked from bqplot/bqplot

Plotting library for IPython/Jupyter Notebooks

License

Notifications You must be signed in to change notification settings

garimag2/bqplot

 
 

Repository files navigation

bqplot

bqplot is a Grammar of Graphics-based interactive plotting framework for the Jupyter notebook.

bqplot

In bqplot, every single attribute of the plot is an interactive widget. This allows the user to integrate any plot with IPython widgets to create a complex and feature rich GUI from just a few simple lines of Python code.

For example, just a few lines of code allow us to generate an interactive map that visualizes the 2016 US Presidential County Level Results:

bqplot

Goals

  • provide a unified framework for 2-D visualizations with a pythonic API.
  • provide a sensible API for adding user interactions (panning, zooming, selection, etc)

Two APIs are provided

  • Users can build custom visualizations using the internal object model, which is inspired by the constructs of the Grammar of Graphics (figure, marks, axes, scales), and enrich their visualization with our Interaction Layer.
  • Or they can use the context-based API similar to Matplotlib's pyplot, which provides sensible default choices for most parameters.

Getting Started

Try it online with Binder

Binder

Dependencies

This package depends on the following packages:

  • ipywidgets (version >= 7.0.0)
  • traitlets (version >= 4.3.0)
  • traittypes
  • numpy
  • pandas

Installation