Open
Description
In
, the entire output area is typeset if any display_data message has an html, markdown or latex mimetype. This is problematic:- Just because the mimetype exists doesn't mean it was the one that was rendered. We should be checking to see if the latex, html, or markdown mimetype was actually the one displayed.
- We shouldn't typeset the entire output area, just the display data that we just added.
This came up in jupyter-widgets/ipywidgets#1777. #2444 may also be related.