Opened 22 months ago
Closed 21 months ago
#23566 closed defect (fixed)
Jupyter does not plot matplotlib images when %display is set to 'typeset' or 'latex'
Reported by:  tmonteil  Owned by:  

Priority:  major  Milestone:  sage8.1 
Component:  notebook  Keywords:  
Cc:  vbraun  Merged in:  
Authors:  Volker Braun  Reviewers:  Dima Pasechnik 
Report Upstream:  N/A  Work issues:  
Branch:  cacf26f (Commits)  Commit:  cacf26f21fa3661b06e5c88795e1d56eb00505b2 
Dependencies:  Stopgaps: 
Description
As reported on this ask question, the following shows an image:
from numpy import arange, sin, pi import matplotlib.pyplot as plt X = arange(0.0, 2*pi, 0.01) plt.plot(X, sin(X)) plt.show()
but does not with %display typeset
or %display latex
.
Change History (7)
comment:1 Changed 22 months ago by
 Cc vbraun added
comment:2 Changed 22 months ago by
 Branch set to u/vbraun/jupyter_does_not_plot_matplotlib_images_when__display_is_set_to__typeset__or__latex_
comment:3 Changed 22 months ago by
 Commit set to 35ade989a1a7230f8761b4468e79e9309a8d2280
 Status changed from new to needs_review
comment:4 Changed 21 months ago by
 Reviewers set to Dima Pasechnik
 Status changed from needs_review to positive_review
LGTM
comment:5 Changed 21 months ago by
 Commit changed from 35ade989a1a7230f8761b4468e79e9309a8d2280 to cacf26f21fa3661b06e5c88795e1d56eb00505b2
 Status changed from positive_review to needs_review
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
cacf26f  Fix docbuild

comment:6 Changed 21 months ago by
 Status changed from needs_review to positive_review
comment:7 Changed 21 months ago by
 Branch changed from u/vbraun/jupyter_does_not_plot_matplotlib_images_when__display_is_set_to__typeset__or__latex_ to cacf26f21fa3661b06e5c88795e1d56eb00505b2
 Resolution set to fixed
 Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
New commits:
Allow for more than just text/plain as default mime type