It is not an issue, it is how Jupyter works. In Classic mode all outputs are stand-alone pages that are embedded in the parent page via iframe. In Lab mode outputs are just plain HTML. So if the output is configured to work with Jupyter classic it will give strange results in Lab mode. Sadly, you can't solve this problem on the notebook engine level, so you need to somehow implement both regimes in the visualization plugin and provide a way for the plugin to know, which mode is used. In Plotly, I just have a manual flag that turns on classic mode.