In [1]:
%%capture
import lantern as l

In [2]:
df = l.bar()

In [3]:
col1 = df.columns[0]
col2 = df.columns[1]

In [5]:
l.plot(df[[col1, col2]], size=(12,5))



In [6]:
f = l.figure()
f.line(df[df.columns[:1]])
f.bar(df[df.columns[1:2]])
f.area(df[df.columns[1:2]])
f.show()



In [7]:
f = l.figure()
f.line(df[df.columns[:1]], y_axis='right')
f.bar(df[df.columns[1:2]])
f.area(df[df.columns[1:2]], y_axis='right')
f.show(xticks=False)



In [8]:
l.plot(df, 'bar', 'matplotlib')



In [ ]:


In [ ]: