How can I add this line in the y axis?

Hi, I created this funnel using Plotly express. You can see a line in the middle of every category on the y-axis. Then, I created a similar funnel using graph_object, but I haven’t been able to add the same short lines in the graph that I made.

How can I do this?

Thanks in advance.

Plotly Express Funnel
image

graph_object funnel
image

Hi @gabrigorn Welcome to the forums. You are searching for ticks. Try this:

fig.update_yaxes(
    ticks = "outside", 
    tickcolor='red', 
    ticklen=7, 
    tickwidth = 0.1
) 
1 Like

Thank you very much. It worked for me.