ipywidgets

python ipyvuetify closing floating dialog (ipywidgets)

python ipyvuetify closing floating dialog (ipywidgets) Question: I am using ipyvutify trying to code great GUIs. It looks fantastic but a bit hard for someone who had never did HTML & CSS. The following is a complete code that generates a dialog floating when clicking "OPEN DIALOG" button. I would like to unterstand the functioning …

Total answers: 2

How to add/ modify/ patch altair chart data dynamically?

How to add/ modify/ patch altair chart data dynamically? Question: I would like to add chart(s), or data to existing chart dynamically (via ipywidget.interact) as in the code below (chart + dotchart). I get nearly what I want except whole chart gets re-drawn and this causes flickering. How do I add/ modify/ patch data dynamically …

Total answers: 2

how to deal with variable width of Buttons in ipywidgets

how to deal with variable width of Buttons in ipywidgets Question: I have the need to display a bunch of buttons. the description of every button corresponds to every word of a text. In order to give a text appearance I want to make button width accoding to the length of the word inside. So …

Total answers: 2

How to get ipywidgets working in Jupyter Lab?

How to get ipywidgets working in Jupyter Lab? Question: In Jupyter Notebook, ipywidgets work fine, however they seem to not work in Jupyter Lab (which is supposedly better than Notebook). I followed these directions. Step 1: Installed Node.js (https://nodejs.org/en/) Step 2: Installed requirements on Python 3 with conda: conda install -c conda-forge ipywidgets jupyter labextension …

Total answers: 11

Jupyter notebook: Widget Javascript not detected

Jupyter notebook: Widget Javascript not detected Question: Question: I installed python3 and jupyter notebook using pip3 in MacOs 10.9. When I try to run the widget it gives error that there is no javascript widget. I have python3 and R kernels installed in Jupyter-notebook. Code: from ipywidgets import widgets from IPython.display import display text = …

Total answers: 6

IPython Notebook ipywidgets does not show

IPython Notebook ipywidgets does not show Question: I created a table with an interactive slider that allows me to toggle between different periods on my table. It was working for the past few days, until today, when I re-ran the notebook, the slide bar doesn’t show anymore. No error messages appear. The code seem to …

Total answers: 9