Iβm trying to put tickformats on bar charts and have formated the text to show 2 digits but rather than βBβ for billions itβs showing G. Any idea on solbing this? Thanks
rus_fv_total_fig_1 = px.bar(rus_fv_total, x="Year", y="Trade Value (US$)",
color="Commodity",barmode='overlay',
template="plotly_white",text="Trade Value (US$)",
title="Russia Fruits & Vegetables Import 1996-2019 (Source: UN Comtrade 2019)")
rus_fv_total_fig_1.update_traces(texttemplate='%{text:.3s}',
textposition='outside')
#rus_fv_total_fig_1.for_each_annotation(lambda a: a.update(text=a.text.split("=")[1]))
rus_fv_total_fig_1.for_each_trace(lambda t: t.update
(name=t.name.replace("Commodity=", "")))