How to change the color of those lines?

What property in layout is responsible for those lines? I want them to be the same color as the font.

1 Like

Hi @TraceLD, welcome to the forums!

You’re looking for the layout.yaxis.gridcolor property (and layout.xaxis.gridcolor for the vertical grid lines) See https://plot.ly/python/axes/#styling-and-coloring-axes-and-the-zeroline for an example.

Hope that helps!
-Jon

2 Likes