# Avoid axes clipping lines

**URL:** <https://community.plotly.com/t/avoid-axes-clipping-lines/33766>\
**Category:** 📊 Plotly Python\
**Created:** [January 17, 2020, 4:36pm UTC](https://community.plotly.com/t/avoid-axes-clipping-lines/33766 "2020-01-17T16:36:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![okomarov](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/okomarov/32/5263_2.png) [@okomarov](https://community.plotly.com/u/okomarov)\
**Post date:** [January 17, 2020, 4:36pm UTC](https://community.plotly.com/t/avoid-axes-clipping-lines/33766/1 "2020-01-17T16:36:17Z")

</div>

Is there a way to avoid the axes clipping the line on the left edge?

```auto
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()

```

 ![Screenshot 2020-01-17 at 16.30.41](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/3/33c1e6f2295cd0ee3ad218fccfe73f844ea620e6.png)

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?

 ![Screenshot 2020-01-17 at 16.35.49](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/c/cf645f7d4fef4ec17f49de6e680b6334fcec4db6.png)
