https://github.com/bqplot/bqplot

Plotting library for IPython/Jupyter notebooks

https://github.com/bqplot/bqplot

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    6 of 64 committers (9.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

ipython jupyter visualizations

Keywords from Contributors

jupyterlab closember conda notebook spec-0 repl pypi tensors visualisation cython
Last synced: 5 months ago · JSON representation

Repository

Plotting library for IPython/Jupyter notebooks

Basic Info
Statistics
  • Stars: 3,666
  • Watchers: 100
  • Forks: 475
  • Open Issues: 277
  • Releases: 0
Topics
ipython jupyter visualizations
Created over 10 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License

README.md

bqplot

bqplot.

Binder Chat

2-D plotting library for Project Jupyter

Introduction

bqplot is a 2-D visualization system for Jupyter, based on the constructs of the Grammar of Graphics.

Wealth of Nations

In bqplot, every component of a plot is an interactive widget. This allows the user to integrate visualizations with other Jupyter interactive widgets to create integrated GUIs with a few lines of Python code.

Documentation

You can follow the documentation on https://bqplot.github.io/bqplot

Trying it online

To try out bqplot interactively in your web browser, just click on the binder link:

Binder

Dependencies

This package depends on the following packages:

  • ipywidgets (version >=7.0.0, <8.0)
  • traitlets (version >=4.3.0, <5.0)
  • traittypes (Version >=0.2.1, <0.3)
  • numpy
  • pandas

Installation

Using pip:

$ pip install bqplot

Using conda

$ conda install -c conda-forge bqplot

If you are using JupyterLab <=2:

$ jupyter labextension install @jupyter-widgets/jupyterlab-manager bqplot

Development installation

For a development installation (requires JupyterLab (version >= 4) and yarn):

$ git clone https://github.com/bqplot/bqplot.git $ cd bqplot $ pip install -e . $ jupyter nbextension install --py --overwrite --symlink --sys-prefix bqplot $ jupyter nbextension enable --py --sys-prefix bqplot

Note for developers: the --symlink argument on Linux or OS X allows one to modify the JavaScript code in-place. This feature is not available with Windows.

For the experimental JupyterLab extension, install the Python package, make sure the Jupyter widgets extension is installed, and install the bqplot extension:

$ pip install "ipywidgets>=7.6" $ jupyter labextension develop . --overwrite

Whenever you make a change of the JavaScript code, you will need to rebuild:

cd js jlpm run build

Then refreshing the JupyterLab/Jupyter Notebook is enough to reload the changes.

Running tests

You can install the dependencies necessary to run the tests with:

bash conda env update -f test-environment.yml

And run it with for Python tests:

bash pytest

And cd js to run the JS tests with:

bash jlpm run test

Every time you make a change on your tests it's necessary to rebuild the JS side:

bash jlpm run build

Examples

Using the pyplot API

Pyplot Screenshot

Using the Object Model API

Bqplot Screenshot

Install a previous bqplot version (Only for JupyterLab <= 2)

In order to install a previous bqplot version, you need to know which front-end version (JavaScript) matches with the back-end version (Python).

For example, in order to install bqplot 0.11.9, you need the labextension version 0.4.9.

$ pip install bqplot==0.11.9 $ jupyter labextension install bqplot@0.4.9

Versions lookup table:

| back-end (Python) | front-end (JavaScript) | |---------------------|--------------------------| | 0.12.14 | 0.5.14 | | 0.12.13 | 0.5.13 | | 0.12.12 | 0.5.12 | | 0.12.11 | 0.5.11 | | 0.12.10 | 0.5.10 | | 0.12.9 | 0.5.9 | | 0.12.8 | 0.5.8 | | 0.12.7 | 0.5.7 | | 0.12.6 | 0.5.6 | | 0.12.4 | 0.5.4 | | 0.12.3 | 0.5.3 | | 0.12.2 | 0.5.2 | | 0.12.1 | 0.5.1 | | 0.12.0 | 0.5.0 | | 0.11.9 | 0.4.9 | | 0.11.8 | 0.4.8 | | 0.11.7 | 0.4.7 | | 0.11.6 | 0.4.6 | | 0.11.5 | 0.4.5 | | 0.11.4 | 0.4.5 | | 0.11.3 | 0.4.4 | | 0.11.2 | 0.4.3 | | 0.11.1 | 0.4.1 | | 0.11.0 | 0.4.0 |

Development

See our contributing guidelines to know how to contribute and set up a development environment.

License

This software is licensed under the Apache 2.0 license. See the LICENSE file for details.

Owner

  • Name: bqplot
  • Login: bqplot
  • Kind: organization
  • Location: The Future

GitHub Events

Total
  • Issues event: 6
  • Watch event: 57
  • Issue comment event: 27
  • Push event: 14
  • Pull request event: 21
  • Pull request review event: 3
  • Fork event: 12
  • Create event: 9
Last Year
  • Issues event: 6
  • Watch event: 57
  • Issue comment event: 27
  • Push event: 14
  • Pull request event: 21
  • Pull request review event: 3
  • Fork event: 12
  • Create event: 9

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 2,636
  • Total Committers: 64
  • Avg Commits per committer: 41.188
  • Development Distribution Score (DDS): 0.789
Past Year
  • Commits: 8
  • Committers: 5
  • Avg Commits per committer: 1.6
  • Development Distribution Score (DDS): 0.625
Top Committers
Name Email Commits
Sylvain Corlay s****y@g****m 555
Srinivas Kumar Sunkara s****1@b****t 371
Chakri Cherukuri c****i@g****m 287
martinRenou m****u@g****m 273
Dhruv Madeka m****a@b****u 250
Romain Menegaux r****x@b****t 178
Jason Grout j****6@b****t 175
Maarten Breddels m****s@g****m 140
Johan Mabille j****e@g****m 110
Itay Dafna i****a@b****t 55
dependabot[bot] 4****] 45
Clayton Passmore c****e@g****m 44
Angus Hollands g****5@g****m 21
ssunkara@tepper.cmu.edu s****a@t****u 13
Matt Craig m****g@g****m 10
mbektas m****s@b****t 8
Mario Buikhuizen m****n@g****m 7
Havaldar a****r@h****m 6
Vishal Jadhav v****v@b****t 6
kaiayoung k****9@b****t 6
Christian Clauss c****s@m****m 5
Dane Freeman d****n@g****u 4
P. L. Lim 2****m 4
Mariana Meireles m****a@p****e 4
Alex Yang a****g@i****u 3
Steven Silvester s****r@i****g 3
Michael Heilman m****n@c****m 3
Jeremy Tuloup j****p@g****m 3
Nick Madrid n****1@b****t 2
Lumberbot (aka Jack) 3****e 2
and 34 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 43
  • Total pull requests: 147
  • Average time to close issues: 5 months
  • Average time to close pull requests: 2 months
  • Total issue authors: 33
  • Total pull request authors: 17
  • Average comments per issue: 1.86
  • Average comments per pull request: 1.63
  • Merged pull requests: 93
  • Bot issues: 0
  • Bot pull requests: 37
Past Year
  • Issues: 5
  • Pull requests: 28
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 7 days
  • Issue authors: 5
  • Pull request authors: 8
  • Average comments per issue: 1.6
  • Average comments per pull request: 0.96
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 10
Top Authors
Issue Authors
  • kloczek (5)
  • pllim (3)
  • astrofrog (2)
  • martinRenou (2)
  • JuanCab (2)
  • kecnry (2)
  • giswqs (2)
  • ssunkara1 (1)
  • bollwyvl (1)
  • maartenbreddels (1)
  • pnsvk (1)
  • guillaumew16 (1)
  • zwelz3 (1)
  • dependabot[bot] (1)
  • iacisme (1)
Pull Request Authors
  • dependabot[bot] (44)
  • martinRenou (35)
  • maartenbreddels (19)
  • ChakriCherukuri (16)
  • mariobuikhuizen (10)
  • meeseeksmachine (9)
  • pllim (8)
  • aroffe99 (4)
  • arjxn-py (3)
  • Havaldar (2)
  • mwcraig (2)
  • Mdashad071192 (2)
  • PavanRahul7 (2)
  • jasongrout (2)
  • bollwyvl (2)
Top Labels
Issue Labels
Bug (6) Enhancement (1) In Roadmap (1) Feature Request (1) dependencies (1) javascript (1)
Pull Request Labels
dependencies (44) javascript (15) Still Needs Manual Backport (9) github_actions (2) to forward-port (1)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 193,147 last-month
  • Total docker downloads: 56,549
  • Total dependent packages: 34
    (may contain duplicates)
  • Total dependent repositories: 924
    (may contain duplicates)
  • Total versions: 114
  • Total maintainers: 5
pypi.org: bqplot

Interactive plotting for the Jupyter notebook, using d3.js and ipywidgets.

  • Versions: 113
  • Dependent Packages: 34
  • Dependent Repositories: 924
  • Downloads: 193,147 Last month
  • Docker Downloads: 56,549
Rankings
Dependent repos count: 0.4%
Dependent packages count: 0.4%
Downloads: 0.9%
Average: 1.1%
Docker downloads count: 1.1%
Stargazers count: 1.3%
Forks count: 2.5%
Last synced: 6 months ago
spack.io: py-bqplot

Interactive plotting for the Jupyter notebook, using d3.js and ipywidgets.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 28.0%
Dependent packages count: 55.9%
Last synced: 6 months ago

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v2 composite
  • actions/download-artifact v2 composite
  • actions/upload-artifact v2 composite
  • ifaxity/wait-on-action v1 composite
  • mamba-org/provision-with-micromamba main composite
.github/workflows/publish_docs.yml actions
  • actions/checkout v3 composite
  • actions/deploy-pages v1 composite
  • actions/upload-pages-artifact v1 composite
  • mamba-org/provision-with-micromamba main composite
.github/workflows/update_galata_references.yaml actions
  • actions/checkout v2 composite
  • ifaxity/wait-on-action v1 composite
  • mamba-org/provision-with-micromamba main composite
js/package.json npm
  • @jupyter-widgets/base-manager ^1.0.0 development
  • @jupyter-widgets/controls ^5 development
  • @jupyterlab/builder ^3.0.0 development
  • @types/chai ^4.1.7 development
  • @types/d3 ^5.7.2 development
  • @types/expect.js ^0.3.29 development
  • @types/mocha ^7.0.2 development
  • @types/node ^13.13.2 development
  • @types/sinon ^9.0.0 development
  • @typescript-eslint/eslint-plugin ^4.19.0 development
  • @typescript-eslint/parser ^4.19.0 development
  • chai ^4.1.2 development
  • css-loader ^5.0.0 development
  • eslint ^7.22.0 development
  • eslint-config-prettier ^8.1.0 development
  • eslint-config-standard ^16.0.2 development
  • eslint-plugin-import ^2.22.1 development
  • eslint-plugin-node ^11.1.0 development
  • eslint-plugin-prettier ^3.3.1 development
  • eslint-plugin-promise ^4.2.1 development
  • karma ^6.3.14 development
  • karma-chai ^0.1.0 development
  • karma-chrome-launcher ^3.1.0 development
  • karma-mocha ^2.0.0 development
  • karma-mocha-reporter ^2.2.5 development
  • karma-sinon ^1.0.5 development
  • karma-sourcemap-loader ^0.3.7 development
  • karma-typescript ^5.0.2 development
  • karma-typescript-es6-transform ^5.0.2 development
  • karma-webpack ^5.0.0 development
  • less ^3.8.1 development
  • less-loader ^5.0.0 development
  • mocha ^7.1.1 development
  • npm-run-all ^4.1.3 development
  • prettier ^2.2.1 development
  • rimraf ^3.0.2 development
  • sinon ^9.0.2 development
  • sinon-chai ^3.3.0 development
  • style-loader ^1.2.0 development
  • typescript ^3.5.2 development
  • webpack ^5 development
  • webpack-cli ^3.3.12 development
  • @jupyter-widgets/base ^2 || ^3 || ^4 || ^5 || ^6
  • @lumino/messaging ^1
  • @lumino/widgets ^1
  • bqscales ^0.3.1
  • d3 ^5.7.0
  • d3-selection ^1
  • is-typedarray ^1.0.0
  • popper.js ^1.0.0
  • topojson ^1.6.24
  • underscore ^1.8.3
js/yarn.lock npm
  • 1083 dependencies
ui-tests/package.json npm
  • @jupyterlab/galata ~4.5.0
  • klaw-sync ^6.0.0
  • rimraf ^3.0.2
ui-tests/yarn.lock npm
  • 348 dependencies
pyproject.toml pypi
setup.py pypi
environment.yml pypi