#!/usr/bin/env python # coding: utf-8 # # So easy, *voilĂ *! # # In this example notebook, we demonstrate how VoilĂ  can render Jupyter notebooks with interactions requiring a roundtrip to the kernel. # ## Jupyter Widgets # In[ ]: import ipywidgets as widgets slider = widgets.FloatSlider(description='$x$') text = widgets.FloatText(disabled=True, description='$x^2$') def compute(*ignore): text.value = str(slider.value ** 2) slider.observe(compute, 'value') slider.value = 4 widgets.VBox([slider, text]) # ## Basic outputs of code cells # In[ ]: import pandas as pd iris = pd.read_csv('https://raw.githubusercontent.com/mwaskom/seaborn-data/master/iris.csv') iris # In[ ]: