import plotly.express as px
from quantfinlib.sim import GeometricBrownianMotion

model = GeometricBrownianMotion(drift=0.05, vol=0.30)
paths = model.path_sample(
    x0=100,
    label_start='2020-01-01',
    label_freq='B',
    num_steps=252,
    num_paths=10
)

fig = px.line(paths)
fig.show()