PyDataLab icon indicating copy to clipboard operation
PyDataLab copied to clipboard

plotly_express 报错

Open Lix1993 opened this issue 4 years ago • 0 comments

wind = px.data.wind()

px.line_polar(wind, r="value", theta="direction", color="strength", line_close=True,
            color_discrete_sequence=px.colors.sequential.Plotly[-2::-1])

AttributeError Traceback (most recent call last) in 2 3 px.line_polar(wind, r="value", theta="direction", color="strength", line_close=True, ----> 4 color_discrete_sequence=px.colors.sequential.Plotly[-2::-1])

AttributeError: module '_plotly_utils.colors.sequential' has no attribute 'Plotly'

Lix1993 avatar Apr 28 '21 03:04 Lix1993