Skip to content

Move _repr_mimebundle_ to DOMWidgets#4011

Open
martinRenou wants to merge 1 commit intojupyter-widgets:mainfrom
martinRenou:move_repr_mimebundle
Open

Move _repr_mimebundle_ to DOMWidgets#4011
martinRenou wants to merge 1 commit intojupyter-widgets:mainfrom
martinRenou:move_repr_mimebundle

Conversation

@martinRenou
Copy link
Member

In bqplot we discovered that displaying a Mark was showing an error message (telling that the widget failed to render). This is because Marks are not DOMWidgets and we try to render them anyway.

This PR fixes it by moving the _repr_mimebundle_ implementation from Widget to DOMWidget.

@jasongrout @maartenbreddels @ibdafna @SylvainCorlay do you have some thoughts, concerns?

@github-actions
Copy link

Binder 👈 Launch a binder notebook on branch martinRenou/ipywidgets/move_repr_mimebundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant