Skip to content

Only typeset displayed data if needed #2980

Open
@jasongrout

Description

@jasongrout

In

OutputArea.prototype.append_display_data = function (json, handle_inserted) {
, the entire output area is typeset if any display_data message has an html, markdown or latex mimetype. This is problematic:

  1. 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.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions