We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Formatted text (text contained in $) displays unformatted in ipywidgets on dashboards.
Create a widget in JupyterLab using ipywidgets and the following code:
import ipywidgets as widgets slider = widgets.FloatSlider(description='$x$', value=4) text = widgets.FloatText(disabled=True, description='$x^2$') def compute(*ignore): text.value = str(slider.value ** 2) slider.observe(compute, 'value') widgets.VBox([slider, text])
Then, add the widget to a dashboard.
The displayed widget appears exactly as it does in the notebook.
Widget in notebook
Widget in dashboard
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Formatted text (text contained in $) displays unformatted in ipywidgets on dashboards.
To Reproduce
Create a widget in JupyterLab using ipywidgets and the following code:
Then, add the widget to a dashboard.
Expected behavior
The displayed widget appears exactly as it does in the notebook.
Screenshots/gifs
Widget in notebook
Widget in dashboard
Context
The text was updated successfully, but these errors were encountered: