Remove Horizontal lines in the barchart

How can I remove the horizontal lines in the y-axis of the barchart in 0, 10, 20, 30, 40, 50?

That would be in the layout. Assuming your layout property is called layout, the following line would remove:

layout['yaxis']['showgrid'] = False

I highly recommend working in the chart studio (by clicking Edit Chart in the right corner), specifically, the JSON > Tree section. That is where I do most of my plotly learning

1 Like

Thanks so much. It worked very well.