Skip to content

Commit

Permalink
Update README.md example (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
adshieh authored Aug 5, 2023
1 parent fd4ae07 commit 85869dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,20 @@ 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


# 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")
Expand Down

0 comments on commit 85869dc

Please sign in to comment.