Can you make one tick bold and can you define custom gridlines and place those gridlines wihtout

Hello @marieanne

id did something like this in the past for the axis text. The values of the bart chart is a different story, though.

you could add the font-weight to the direct css.

fig.update_layout(
    xaxis={
        'tickmode': 'array', 
        'tickvals': [1, 2, 3],
        'ticktext': [
            'a',
            f"<span style='color:red; font-weight: bold'> b </span>",
            'c'
        ]
    }
)

I donยดt understand the problem 2, unfortunately. You want to have lines between the bars?

1 Like