Only "Loading widget..." but no Matplotlib figures (fresh install with conda)
See original GitHub issueFresh install with conda (laptop with Ubuntu 18.04 => nothing to do with Docker).
Maybe related to #161 ?
Matplotlib figures do not show up and I get only
Loading widget...
[<matplotlib.lines.Line2D at 0x7fa9e8358e50>]
Standard installation with conda:
conda install -c conda-forge ipympl nodejs
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib
jupyter labextension list
JupyterLab v1.2.5
Known labextensions:
app dir: /home/marianne/miniconda3/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v1.1.0 enabled OK
jupyter-matplotlib v0.5.0 enabled OK
Note that ipywidgets seems to work fine. from ipywidgets import Button; Button(description='test')
gives a button.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:13 (5 by maintainers)
Top Results From Across the Web
matplotlib - Widget and graph don't show up in Jupyter lab ...
In my case, I had neglected to install @jupyter-widgets/jupyterlab-manager. Adding this via the lab extensions tab, rebuilding and reloading ...
Read more >Installation — ginga v4.0.0 - Read the Docs
Ginga can render directly into a Matplotlib figure. Support is limited to the viewing widget itself. Any of the backends that Matplotlib supports...
Read more >Text rendering with LaTeX — Matplotlib 3.6.2 documentation
The default font family (which does not require loading any LaTeX package) is Computer Modern. All other families are Adobe fonts. Times and...
Read more >Install spaCy · spaCy Usage Documentation
The latest spaCy releases are available over pip and conda. ... python -m venv .env source .env/bin/activate pip install -U pip setuptools wheel...
Read more >Jupyter notebook tutorial in Python
Jupyter notebook tutorial on how to install, run, and use Jupyter for interactive matplotlib plotting, data analysis, and publishing code. New to Plotly?...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Did you make sure to clear the browser cache? By restarting the browser or hard refreshing
Hi @thomasaarholt, Unix, more specific:
Yah, I should say that I installed more Conda packages then first stated, as it is probably some of their dependencies which makes Conda downgrade the ipymlp version. I tried to install all these packages, which works:
conda create -n py37_jupyterlab_v2.1.5 python=3.7 jupyterlab nb_conda_kernels nodejs nbresuse flake8 jupyterlab_code_formatter black ipympl==0.5.6 nbdime dask-labextension jupyterlab-git pandas holoviews
And for setting up the JupyterLab extensions:
conda activate py37_jupyterlab_v2.1.5; jupyter labextension install @ijmbarr/jupyterlab_spellchecker@0.1.6 @jupyter-widgets/jupyterlab-manager@2.0.0 @jupyterlab/geojson-extension@2.0.1 @jupyterlab/git@0.20.0 @jupyterlab/github@2.0.0 @jupyterlab/shortcutui@0.5.0-beta.2 @jupyterlab/toc@4.0.0 @krassowski/jupyterlab_go_to_definition@1.0.0 @pyviz/jupyterlab_pyviz@1.0.4 @ryantam626/jupyterlab_code_formatter@1.3.1 dask-labextension@2.0.2 jupyterlab-flake8@0.6.1 jupyterlab-python-file@0.4.0 nbdime-jupyterlab@2.0.0 --no-build; jupyter lab build; jupyter serverextension enable --py jupyterlab_code_formatter; jupyter serverextension enable dask_labextension