# Remove white line at bottom of go.Bar? (not x-axis)

**URL:** <https://community.plotly.com/t/remove-white-line-at-bottom-of-go-bar-not-x-axis/56169>\
**Category:** 📊 Plotly Python\
**Created:** [September 1, 2021, 5:10pm UTC](https://community.plotly.com/t/remove-white-line-at-bottom-of-go-bar-not-x-axis/56169 "2021-09-01T17:10:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yasserius](https://avatars.discourse-cdn.com/v4/letter/y/4bbf92/32.png) [@yasserius](https://community.plotly.com/u/yasserius)\
**Post date:** [September 1, 2021, 5:10pm UTC](https://community.plotly.com/t/remove-white-line-at-bottom-of-go-bar-not-x-axis/56169/1 "2021-09-01T17:10:11Z")

</div>

Trying to make a minimalistic, everything-removed-and-stripped-off bar chart:

 ![newplot](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/d/4/d4f786c1dede0e8099572caba0caf9adfdec5550.png)

```auto
import plotly.graph_objects as go

fig = go.Figure()

fig.add_trace(
    go.Bar(
        x = df['date'],
        y = df['volume'],
        marker = dict(color = 'rgba(255,255,255,0.1)', line = dict(width = 0))
    ),
)

fig.update_layout(
    height = 700,
    width = 900,
    plot_bgcolor='rgba(0,0,0,0)',
    paper_bgcolor='rgba(0, 7, 46, 1)',
)

fig.update_xaxes(
    showticklabels=False,
    zeroline = False,
    showgrid = False
)

fig.update_yaxes(
    showticklabels=False,
    gridcolor = 'rgba(0,0,0,0)',
)

fig.show()

```

`zeroline = False` or `showline = False` are not working, what exactly is this white line?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![yasserius](https://avatars.discourse-cdn.com/v4/letter/y/4bbf92/32.png) [@yasserius](https://community.plotly.com/u/yasserius)\
**Post date:** [September 1, 2021, 5:11pm UTC](https://community.plotly.com/t/remove-white-line-at-bottom-of-go-bar-not-x-axis/56169/2 "2021-09-01T17:11:35Z")

</div>

Note: I have tried testing with `showline=True, linewidth=1, linecolor='white'` and that draws a separate line as x-axis slightly below it, hence this is not the x-axis and is a different line in itself.

---

<div class="post-metadata">

**Author:** ![atharvakatre](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/atharvakatre/32/14713_2.png) [@atharvakatre](https://community.plotly.com/u/atharvakatre)\
**Post date:** [September 2, 2021, 9:41am UTC](https://community.plotly.com/t/remove-white-line-at-bottom-of-go-bar-not-x-axis/56169/3 "2021-09-02T09:41:14Z")

</div>

@yasserius

Finally figured it out 🕵️‍♀️

Just add `zerolinecolor = 'rgba(0,0,0,0)'` to your `fig.update_yaxes()`

```auto
fig.update_yaxes(
    showticklabels=False,
    showgrid = False,
    zerolinecolor = 'rgba(0,0,0,0)'
)

```

---

<div class="post-metadata">

**Author:** ![yasserius](https://avatars.discourse-cdn.com/v4/letter/y/4bbf92/32.png) [@yasserius](https://community.plotly.com/u/yasserius)\
**Post date:** [September 2, 2021, 1:09pm UTC](https://community.plotly.com/t/remove-white-line-at-bottom-of-go-bar-not-x-axis/56169/4 "2021-09-02T13:09:46Z")

</div>

Damn, thanks so much @atharvakatre, this makes no sense but it solved it! Kudos!
