plotly.py
plotly.py copied to clipboard
Bug in changing Title persian(arabic) fonts in plotly.GO
Hi, I've just wanted to change the title persian font of a graph object but this approach does not change anything at all.
fig.update_layout(barmode='group', xaxis_tickangle=-45 ,title={'y':0.98, 'x':0.5,
'text':f"فروش ماهانه <b>{symbol}</b>",'xanchor':'center', 'yanchor':'top',
'font':{'size':40, 'family':"Droid Sans"}}, bargroupgap=0.01, autosize=False, width=1280, height=720,
margin=dict(l=50,r=10,b=0,t=50), legend=dict(traceorder='normal', font={'size':15},orientation="h",yanchor="middle",y=-0.12,xanchor="auto",x=1),
yaxis_title='<b>فروش ماهانه (میلیاردتومان)</b>',font=dict(
family="Arial",
size=15
),template="plotly_dark")
with changing the title dict args font
even Google standard arabic(persian) fonts does not change anything.