From 85869dca71553ab92a881c9acfd665a7107fea20 Mon Sep 17 00:00:00 2001 From: Albert Shieh Date: Sat, 5 Aug 2023 17:54:42 -0400 Subject: [PATCH] Update README.md example (#9) --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 532ebf5..a299c47 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ and static modes, e.g.: # In[ ]: -import leda # Loads `interact` magic when running in Jupyter notebook +import leda import numpy as np import pandas as pd @@ -73,6 +73,12 @@ import pandas as pd # In[ ]: +leda.init("matplotlib") # Loads `interact` magic when running in Jupyter notebook + + +# In[ ]: + + %%interact column=list("abcdefghij");mult=[1, 2, 3] df = pd.DataFrame( np.random.RandomState(42).rand(100, 10), columns=list("abcdefghij")