QuantEcon / sphinxcontrib-jupyter

A Sphinx Extension for Generating Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
77 stars 23 forks source link

Different rendering in Traditional Jupyter Notebook and JupyterLab #79

Open mmcky opened 6 years ago

mmcky commented 6 years ago

It appears that Jupyterlab doesn't render the same way (for html) than the traditional Jupyter notebook.

Opening tests/ipynb/images.ipynb is as I would expect in traditional jupyter notebook but all images are the same size irrespective of html tags for alignment and size in jupyterlab.

Does anyone know why?

mmcky commented 5 years ago

Current incompatibility between traditional notebook and jupyterlab

mmcky commented 5 years ago

This might be a useful resource: https://github.com/jupyterlab/jupyterlab/pull/5012

mmcky commented 5 years ago

The displaymath change has been implemented in https://github.com/QuantEcon/sphinxcontrib-jupyter/pull/154

mmcky commented 5 years ago

From conversation with @jlperla and @arnavs it appears this issue may be resolved? (or perhaps a browser issue). @arnavs can you please close this if that is the case.

mmcky commented 5 years ago

julia team will use width for more general compatibility between jupyter notebook and jupyterlab. I think the cause of this has been identified and a solution found when needing to resize images. @arnavs are you happy for this to be closed?