Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotly_express 报错 #7

Open
Lix1993 opened this issue Apr 28, 2021 · 0 comments · May be fixed by #8
Open

plotly_express 报错 #7

Lix1993 opened this issue Apr 28, 2021 · 0 comments · May be fixed by #8

Comments

@Lix1993
Copy link

Lix1993 commented Apr 28, 2021

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 Lix1993 linked a pull request Apr 28, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant