Bqplot Documentation

bqplot Documentation

Release 0.11.2 Bloomberg LP

Nov 08, 2018

Contents

1 Introduction

1

1.1 Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.2 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2 Usage

3

2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

3 API Reference Documentation

5

3.1 BQPlot Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Python Module Index

121

i

ii

1 CHAPTER

Introduction

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

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.

1.1 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.

1.2 Installation

Using pip: pip install bqplot jupyter nbextension enable --py --sys-prefix bqplot # can be skipped for notebook version 5.3 and above Using conda

1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download