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
1
vote
0 answers

How to make Voila Dashboard not execute every time it runs

I've a somewhat large .ipynb notebook that I've decided to turn it into a dashboard using Voila. It works just fine, however, it takes a lot of time to execute (around 20 minutes for 88 cell), I've found out that even if I deploy it on Binder, it…
BeBo1
  • 11
  • 6
1
vote
0 answers

bokeh, ipywidgets, jupyterlab and voilà

I'm trying to create a webapp using bokeh. Mostly, it will consist of markdown text and some figures. Right now I'm stuck a getting voilà to show two bokeh figures side by side. Within the notebook everything runs smoothly, but in the voilà…
manu
  • 1,333
  • 2
  • 11
  • 24
1
vote
0 answers

Is it possible to use Voila & TOC2?

I am trying to reproduce this output from nbconvert in voila nbconvert This is generated using the following command jupyter nbconvert --to html_toc example.ipynb --no-input --ExtractOutputPreprocessor.enabled=False Currently voila gives me this (no…
harrylo
  • 11
  • 1
1
vote
1 answer

Setting camera view on ipyvolume gives different viewing angle than matplotlib

I am trying to make an interactive notebook (with voila) where I use ipyvolume for plotting a surface. However, I do not manage to set the camera correctly with ipyvolume. It should be a top-down view onto the z-direction. It works fine in the…
John Smith
  • 1,059
  • 1
  • 13
  • 35
1
vote
1 answer

Voila unwanted refresh for scatter plot

I'm trying to build a simple widget application in voilà. It is working very well inside the Jupyter notebook, but when I deploy it as a voilà application, every time I change the slider the whole page refreshes. This is my code: from bqplot import…
Mark
  • 11
  • 1
1
vote
0 answers

Jupyter notebook running in Voila, detecting kernel

Running Jupyter Notebooks using Voila, Python 3.9, on Windows 10... I was wondering if, in the notebook code itself, there is a way to find out whether the kernel is still alive and kicking.
1
vote
0 answers

I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:185] None of the MLIR Optimization Passes are enabled (registered 2)

I'm trying to run a voila notebook on my local machine it gives me the error above although I developed the code on Google Colab and works well even in jupyter notebook the code running without problems the only problem is when I render the code…
1
vote
1 answer

ipyvuetify add event icon in select object

I would like to link to the event if you click on the icon, do you have an idea? Because if the user click on Delete icon I would like to clean all the value selected in the Select, maybe we have another way to do that. import ipyvuetify as…
Flo Cp
  • 281
  • 2
  • 13
1
vote
0 answers

Install Voila on SageMaker based Jupyter Notebook

I'm trying to run the Voila! server on a SageMaker Notebook. Commands to install and enable voila: !pip install voila !jupyter serverextension enable --sys-prefix voila The pip command appears to work OK. Terminal output from the jupyter…
atlas_scoffed
  • 3,542
  • 30
  • 46
1
vote
1 answer

How to check if the code is running in voila or jupyter

It is strange that I cannot seem to find this question already here, but I did multiple searches... Maybe Google and so find are messing with me... Anyway, need a question people (including my future self) will be able to find with a Google search,…
ntg
  • 12,950
  • 7
  • 74
  • 95
1
vote
1 answer

Ipywidgets not showing in Voila app deployed with Heroku for some (not all) users

I have a pretty basic Heroku app made in Python with Jupyter and Voila. The app consists of a few ipywidgets that need to be filled in order to run a piece of code, which then goes to show a graph. The app is working just fine for me, but is not…
EnriR89
  • 21
  • 5
1
vote
2 answers

use an image as icon in ipyvuetify

I am using ipyvuetify to code an app to be rendered with voila and I would like to use an image as icon for footer (or in the future for a button). Any idea how to do it? This is the code for an icon v.Footer( absolute = False, …
JFerro
  • 3,203
  • 7
  • 35
  • 88
1
vote
0 answers

Using Viola with jupyter notebook on Binder gives error

I am doing the fast.ai v2 course on deep learning and on deploying my first app (as suggested in chapter 2 of the book, I am using viola on top of the jupyter notebook to make it run without showing the cells, therefore act as an app. When I run it…
BobbyF
  • 431
  • 1
  • 7
  • 19
1
vote
1 answer

Copy content of variable into clipboard when rendering html with voila and Jupyter Hub (injecting JS via Ipython??)

I am rendering an Html page out of a jupyter notebook stored in a server using Jupyter HUB. When using voila I would like to create a button that will copy into the clipboard the content of a particular variable (text). The most simple example to…
JFerro
  • 3,203
  • 7
  • 35
  • 88
1
vote
1 answer

ipyvuetify catch the user input value of text Field when user changes it

I am using vuetify to catch an input of a user as follows: %pip install ipyvuetify %pip install ipywidgets import random import ipywidgets as widget from ipywidgets import VBox import ipyvuetify as v v_nr = v.TextField(label='Enter a number…
JFerro
  • 3,203
  • 7
  • 35
  • 88