Figures not automatically rendered in some cases
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 38/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- jupyter-notebook, python
- Domaine
- data-visualization
Piste de recherche
Commencez par reproduire l’exemple à deux cellules dans un kernel Jupyter vierge, en comparant le comportement du rendu inline avec et sans le contexte de style et DateFormatter. Suivez le chemin du rendu après la première cellule ; c’est terminé lorsque les figures créées dans les cellules suivantes sont rendues normalement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I found that in a fresh Jupyter kernel, the following snippet prevents further figures to be rendered:
# cell 1
import matplotlib.pyplot as plt
from matplotlib.dates import DateFormatter
with plt.style.context('seaborn'):
fig, ax = plt.subplots(figsize=(5, 5))
ax.xaxis.set_major_formatter(DateFormatter("%H:%M"))
This figure ("cell 1") is rendered, but new figures are not rendered any more in a notebook:
# cell 2
fig, ax = plt.subplots(figsize=(5, 5)) # not rendered
The issue does not appear in any of the following case:
- "cell 2" is run before "cell 1": all following figures are then properly rendered
- The
%matplotlib inlineinstruction is explicitly added, before or after "cell 1" - The context manager is not used (but it fails with any stylesheet)
- The
DateFormatteris not applied
- Langage dominant
- Jupyter Notebook
- Étoiles
- 31
- Forks
- 39
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ipython/matplotlib-inline
-
Support animations Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
ipython/matplotlib-inline#61 ·
-
sdist is missing tests Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
ipython/matplotlib-inline#59 ·
-
Publish changelog Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
ipython/matplotlib-inline#57 · 1 réaction ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
ipython/matplotlib-inline#54 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 48/100
ipython/matplotlib-inline#44 · 1 commentaire ·
Toutes les issues de ipython/matplotlib-inline
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
scope: charts status: waiting for maintainer
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
chore P3 plotly-internal size: 3 task
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Live-Charts/LiveCharts2#2394 ·
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
jbkunst/highcharter#849 ·