All Projects → matplotlib → Ipympl

matplotlib / Ipympl

Licence: bsd-3-clause
Matplotlib Jupyter Integration

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ipympl

psyplot
Python package for interactive data visualization
Stars: ✭ 64 (-93.75%)
Mutual labels:  interactive, matplotlib
Edaviz
edaviz - Python library for Exploratory Data Analysis and Visualization in Jupyter Notebook or Jupyter Lab
Stars: ✭ 220 (-78.52%)
Mutual labels:  matplotlib, interactive
Pylustrator
Visualisations of data are at the core of every publication of scientific research results. They have to be as clear as possible to facilitate the communication of research. As data can have different formats and shapes, the visualisations often have to be adapted to reflect the data as well as possible. We developed Pylustrator, an interface to directly edit python generated matplotlib graphs to finalize them for publication. Therefore, subplots can be resized and dragged around by the mouse, text and annotations can be added. The changes can be saved to the initial plot file as python code.
Stars: ✭ 192 (-81.25%)
Mutual labels:  matplotlib, interactive
Lantern
Data exploration glue
Stars: ✭ 292 (-71.48%)
Mutual labels:  jupyterlab-extension, matplotlib
Mlcourse.ai
Open Machine Learning Course
Stars: ✭ 7,963 (+677.64%)
Mutual labels:  matplotlib
Showoff
Don't just present; interact with your audience!
Stars: ✭ 879 (-14.16%)
Mutual labels:  interactive
Celluloid
🎥 Matplotlib animations made easy
Stars: ✭ 867 (-15.33%)
Mutual labels:  matplotlib
Elyra
Elyra extends JupyterLab Notebooks with an AI centric approach.
Stars: ✭ 839 (-18.07%)
Mutual labels:  jupyterlab-extension
Abu
阿布量化交易系统(股票,期权,期货,比特币,机器学习) 基于python的开源量化交易,量化投资架构
Stars: ✭ 8,589 (+738.77%)
Mutual labels:  matplotlib
Pyimagevideo
write animated GIF, multipage append TIFF, AVI OGV video in Python
Stars: ✭ 36 (-96.48%)
Mutual labels:  matplotlib
Machine Learning Alpine
Alpine Container for Machine Learning
Stars: ✭ 30 (-97.07%)
Mutual labels:  matplotlib
Crime Analysis
Association Rule Mining from Spatial Data for Crime Analysis
Stars: ✭ 20 (-98.05%)
Mutual labels:  matplotlib
Jupyterlab black
A JupyterLab extension to apply Black formatter to code within codecell.
Stars: ✭ 35 (-96.58%)
Mutual labels:  jupyterlab-extension
Rpyplot
R interface to matplotlib
Stars: ✭ 13 (-98.73%)
Mutual labels:  matplotlib
Svg World Map
🗺 A JavaScript library to easily integrate one or more SVG world maps with all nations (countries) and second-level political subdivisions (countries, provinces, states).
Stars: ✭ 38 (-96.29%)
Mutual labels:  interactive
Cartopy
Cartopy - a cartographic python library with matplotlib support
Stars: ✭ 857 (-16.31%)
Mutual labels:  matplotlib
Arcgis Python Api
Documentation and samples for ArcGIS API for Python
Stars: ✭ 954 (-6.84%)
Mutual labels:  jupyterlab-extension
Tldr
fast and interactive tldr client written with go
Stars: ✭ 984 (-3.91%)
Mutual labels:  interactive
Deep learning projects
Stars: ✭ 28 (-97.27%)
Mutual labels:  matplotlib
Soundwaveinteractive
Interactive Sound Board for Mixer. Microsoft shut Mixer down, so this application no longer works. RIP Mixer.
Stars: ✭ 27 (-97.36%)
Mutual labels:  interactive

ipympl

TravisCI build status Latest PyPI version Latest conda-forge version Latest npm version Binder Gitter

Leveraging the Jupyter interactive widgets framework, ipympl enables the interactive features of matplotlib in the Jupyter notebook and in JupyterLab.

Besides, the figure canvas element is a proper Jupyter interactive widget which can be positioned in interactive widget layouts.

Usage

To enable the ipympl backend, simply use the matplotlib Jupyter magic:

%matplotlib widget

Example

See the example notebook for more!

matplotlib screencast

Installation

With conda:

conda install -c conda-forge ipympl

With pip:

pip install ipympl

Use in JupyterLab

If you want to use ipympl in JupyterLab, we recommend using JupyterLab >= 3.

If you use JupyterLab 2, you still need to install the labextension manually:

conda install -c conda-forge nodejs
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib

Install an old JupyterLab extension

If you are using JupyterLab 1 or 2, you will need to install the right jupyter-matplotlib version, according to the ipympl and jupyterlab versions you installed. For example, if you installed ipympl 0.5.1, you need to install jupyter-matplotlib 0.7.0, and this version is only compatible with JupyterLab 1.

conda install -c conda-forge ipympl==0.5.1
jupyter labextension install @jupyter-widgets/jupyterlab-manager [email protected]

Versions lookup table:

ipympl jupyter-matplotlib JupyterLab Matplotlib
0.5.8 0.7.4 1 or 2 3.3.1
0.5.7 0.7.3 1 or 2 3.2.*
... ... ...
0.5.3 0.7.2 1 or 2
0.5.2 0.7.1 1
0.5.1 0.7.0 1
0.5.0 0.6.0 1
0.4.0 0.5.0 1
0.3.3 0.4.2 1
0.3.2 0.4.1 1
0.3.1 0.4.0 0 or 1

For a development installation (requires nodejs):

Create a dev environment that has nodejs installed. The instructions here use mamba but you can also use conda.

mamba env create --file dev-environment.yml
conda activate ipympl-dev

Install the Python Packge

pip install -e .

When developing your extensions, you need to manually enable your extensions with the notebook / lab frontend. For lab, this is done by the command:

jupyter labextension develop --overwrite .
npm run build

For classic notebook, you need to run:

jupyter nbextension install --py --symlink --sys-prefix ipympl
jupyter nbextension enable --py --sys-prefix ipympl

How to see your changes

Javascript:

You need to rebuild the JS when you make a code change:

cd js
yarn run watch

After a change wait for the build to finish and then refresh your browser and the changes should take effect.

Python:

If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].