from lets_plot import *
load_lets_plot_js()
--------------------------------------------------------------------------- NameError Traceback (most recent call last) C:\Temp/ipykernel_9616/2006427313.py in <module> 1 from lets_plot import * ----> 2 load_lets_plot_js() NameError: name 'load_lets_plot_js' is not defined
p = ggplot() + geom_line(
aes(x='x', y='y', group='g', color='g'),
{
'x': [0, 5, 10, 15, 20, 25],
'y': [0, 5, 10, 15, 20, 25],
'g': ['a', 'a', 'b', 'b', 'c', 'c']
})
p
p + xlim(2, 22)
p + coord_cartesian(xlim=(2, 22))