Displaying Plotly figures in full screen in Jupyter notebooks

I have large Plotly figures and tables in my Jupyter Notebook and Sphinx-based documentation. Because the documentation page is already crowded, I would like to give the user an option to display the figures in a full-screen pop-up so that the figures could utilise all the available screen estate.

An example of a stuffed layout (too narrow for the figure):

enter image description here

Does Plotly.py offer ways to achieve this easily? If it doesn’t, can I somehow include external JavaScript on the generated Sphinx documentation page for triggering a full screen for a figure?