In [1]:
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
In [ ]:
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']
})
In [ ]:
p
In [ ]:
p + xlim(2, 22)
In [ ]:
p + coord_cartesian(xlim=(2, 22))