So easy, voilà!

In this example notebook, we demonstrate how voila can render Jupyter notebooks with interactions requiring a roundtrip to the kernel.

Jupyter Widgets


In [ ]:
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])

Basic outputs of code cells


In [ ]:
import pandas as pd

iris = pd.read_csv('./iris.csv')
iris