Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaTeX used in widget controls is not rendered #1

Open
furnstahl opened this issue Dec 26, 2023 · 1 comment
Open

LaTeX used in widget controls is not rendered #1

furnstahl opened this issue Dec 26, 2023 · 1 comment

Comments

@furnstahl
Copy link
Collaborator

The current (as of 25-Dec-2023) version of ipywidgets (8.1.1) does not render LaTeX code when used in widget labels. There is no problem with LaTeX rendering in markdown. See jupyter-widgets/ipywidgets#3849.

@furnstahl furnstahl changed the title Issue on page /notebooks/Basics/Bayesian_updating_coinflip_interactive.html LaTeX used in widget controls is not rendered Dec 26, 2023
@furnstahl
Copy link
Collaborator Author

furnstahl commented Dec 26, 2023

Followed the instructions here: https://github.com/jupyter-widgets/ipywidgets/blob/main/docs/source/dev_install.md to install the latest jupyterlab-widgets. It seems to work! Here are the commands used, within a test environment (from environment.yml with the name: changed to 8820-env-ipywidgets-test):

conda activate 8820-env-ipywidgets-test
conda install -c conda-forge yarn
git clone https://github.com/jupyter-widgets/ipywidgets.git
cd ipywidgets/
bash ./dev-install.sh

Tried this out on a couple of notebooks with widgets and their labels worked. No apparent side effects.

But we'll wait on trying to incorporate this into the standard environment.yml in the hope there is a new release soon.

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

No branches or pull requests

1 participant