Is there a way to avoid the axes clipping the line on the left edge?
import plotly.express as px
import pandas as pd
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/tesla-stock-price.csv')
df = df.drop(range(0))
fig = px.line(df, x='date', y='high')
fig.show()
I tried setting the cliponaxis=False
and layer='below traces'
to no avail.
Is there a way to give some padding to the autorange
, a bit like matplotlib does?