I’m trying to add a %-suffix to the x-axis on a stacked barchart, but it doesn’t appear to show up.
The code section in question is as follows:
layout = go.Layout(
barmode='stack',
# hovermode='compare',
bargap=.4,
showlegend=False,
# legend=dict(orientation='h', tracegroupgap=0, traceorder='reversed', x=-1, xanchor='right'),
margin=go.layout.Margin(l=270, r=30, t=90, b=50, pad=10), #l=270, r=40
yaxis=go.layout.YAxis(dict(showticklabels=False, ticksuffix = '%')),
font=dict(size=10),
annotations = annotations + annotations_r + annotations_l + annotations_l_2
)