I have just installed the lastest Plotly (3.0) and I have not been able to set the legend text colour.
This is my code:
import plotly.graph_objs as go
import numpy as np
x = np.random.randn(1000)
y = np.random.randn(1000)
fig = go.FigureWidget({'x':x,'y':y,'type':'histogram2dcontour','colorscale':'Viridis'}],
layout=go.Layout(title='test',width=700,plot_bgcolor='rgba(0,0,0,0)',
paper_bgcolor='rgba(0,0,0,0)'))
fig.layout.titlefont.color = 'orange'
fig.layout.xaxis.color = 'white'
fig.layout.yaxis.color = 'white'
fig.layout.legend.font.size = 2000
fig.layout.legend.font.color = 'red'
fig
As can be seen below the legend text below remains the same. Weirdly the attributes of fig.layout.legend.font.color include capitalise, isdigit class methods etc.
Is this a bug or am I missing something?
Any help much appreciated.
Thanks.

