Open gabalafou opened 2 months ago
You can see the bug at the following preview URL: https://pydata-sphinx-theme--1765.org.readthedocs.build/en/1765/examples/pydata.html#ipywidget
Just noticed on that preview URL that ipyleaflet is also rendered twice
I wonder if it's because those libraries are calling a display function directly, and then we are doubling that output by calling display ourselves in the cell's code?
I guess it is but the question is how Jupyter notebook itself prevent this behaviour ?
Also, why is there no doubling with nbsphinx?
Is it also the case if you drop our theme and use the good old alabaster ? If it's the case then the issue is on myst-nb side.
This PR creates a demo of a bug (#1766). It is not meant to be merged in.