Questions tagged [voila]

Voilà allows you to convert a Jupyter Notebook into an interactive dashboard that allows you to share your work with others. It is secure and customizable, giving you control over what your readers experience.

106 questions
2
votes
2 answers

run programmatically an ipyvuetify button

Assume I have a code with a button coded in ipyvuetify v_btn_load = vue.Btn(class_='mx-2 light-red darken-1', children=[vue.Icon(left=True, children=['get_app']),'Load data']) def on_click_load(widget, event, data): …
JFerro
  • 3,203
  • 7
  • 35
  • 88
2
votes
3 answers

How to control Ipyvuetify ProgressCircular

I want to use an ipyvuetify widget called ProgressCircular to show the loading process. Therefore, I was trying to figure out how to show and hide the widget in my code. progress=v.ProgressCircular(width=3, color='red', …
Li Phil
  • 41
  • 3
2
votes
1 answer

Is there a way to detect that notebook is displayed in voila, jupyter or jupyterlab?

I'm using the xarray_leaflet library that has has a different behavior if the notebook is launch with voila, jupyter or jupyterLab. Is there a way to detect it programmatically ?
Pierrick Rambaud
  • 1,726
  • 1
  • 20
  • 47
2
votes
2 answers

python ipyvuetify closing floating dialog (ipywidgets)

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…
JFerro
  • 3,203
  • 7
  • 35
  • 88
2
votes
0 answers

No interactive widgets is getting displayed in chrome browser while running ipynb file using Voila

I am trying to run my ipynb file using voila, which have some interactive widgets and plots. I am using voila (0.1.21), to create a dashboard application. When i am opening the application (http://localhost:8866) in chrome browser, it does not…
2
votes
3 answers

Voila for Jupyter raises error: raise NotImplementedError

I am using Python 3.8 and this is the printout of jupyter --version: jupyter core : 4.6.3 jupyter-notebook : 6.0.3 qtconsole : not installed ipython : 7.13.0 ipykernel : 5.1.4 jupyter client : 6.0.0 jupyter lab :…
rocksNwaves
  • 5,331
  • 4
  • 38
  • 77
2
votes
1 answer

How to display an image in a HTML widget in voila

I want to display an image in an HTML ipywidget rendered in voila. This code works in jupyter notebooks: import ipywidgets as widget img = widget.HTML('
' '
above_c_level
  • 3,579
  • 3
  • 22
  • 37
2
votes
0 answers

create an observe handler for multiple ipywidgets

I have to create a collection of buttons dynamically based on lists of words. I create them with a class. Then I have to dynamically see how many of them are clicked by the user and act accordingly (get the collection of clicked buttons per…
JFerro
  • 3,203
  • 7
  • 35
  • 88
1
vote
0 answers

Can Voila cache data to be reused when a widget changes value?

I am loading large files with 10-100 million 3D points and multiple labels per point into a Pandas dataframe. These points are then filtered into a thin planar slice along a chosen axis and projected onto a plane, with color based on the label…
Paul Chernoch
  • 5,275
  • 3
  • 52
  • 73
1
vote
0 answers

Nbconvert and voila no ipywidgets

we are currently using JupyterHub for our team of mostly non programmers. ( Zero to JupyterHub with Kubernetes). We want to use voila to provide the notebooks as web apps. We have installed it on the server and it runs with a reverse proxy…
Jonas
  • 187
  • 6
1
vote
1 answer

How to put interactive bokeh HTML image in Jupyterlab page

I'm using Jupyterlab (v 3.2.1) and bokeh to create a webpage that allows a user to load a .csv file containing a matrix, and a slider to optionally set a threshold on displayed results. The matrix contains simply some numerical values. The result…
Andrea
  • 91
  • 10
1
vote
1 answer

Widgets run perfectly in Jupyter Notebook, but do nothing in Voila

I have several buttons which generate images. All work perfectly in Jupyter Notebook, but when I click Voila, and click the buttons, nothing happens. The first button works, but the code is very similar to run other models, yet the other buttons do…
1
vote
1 answer

Why Heroku + voila ipynb app fail to deploy with `failed to bind to $PORT within 60 seconds of launch`

I followed the different pages to deploy a voila ipynb app on…
1
vote
1 answer

How to render a notebook with voila in a self-implemented extension?

I'd like to create a personal Jupyter Lab extension to add a button to the Launcher. When clicking on it, it should render a jupyter lab GUI with Voila. As I'm quite new to this kind of implementation, I copied a lots this extension example to…
emonier
  • 293
  • 1
  • 3
  • 13
1
vote
0 answers

get url and parameters in voila

I try to create a simple weblink in Jupyter/Voila to display this: display(HTML("""Current Month | As you can see I just hardcode the…