We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would be nice if layout.Legend instances supported the dict union operator:
layout.Legend
dict
import plotly.graph_objects as go fig = go.Figure() fig.layout.legend |= dict(title="")
TypeError: unsupported operand type(s) for |=: 'Legend' and 'dict'
Since legend.update() works in analogy to dict.update()
legend.update()
dict.update()
fig.layout.legend.update(dict(title="")) >>> layout.Legend({ 'title': {'text': ''} })
I was expecting other parts of the dict API to work as well.
The text was updated successfully, but these errors were encountered:
That's a cool idea! We'd surely accept a pull-request for that :)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Would be nice if
layout.Legend
instances supported thedict
union operator:Since
legend.update()
works in analogy todict.update()
I was expecting other parts of the
dict
API to work as well.The text was updated successfully, but these errors were encountered: