You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to change the opacity by not adding the attribute in the constructor but adding it after using fig.update_traces(opacity=0.5). But I'll open a PR with a fix so you don't have to use that.
The text was updated successfully, but these errors were encountered:
tvaucher
pushed a commit
to tvaucher/plotly.py
that referenced
this issue
Mar 26, 2020
Description
Hello,
When passing the
opacity
attribute different thanNone
topx.density_mapbox
, it raises a ValueError.Expected output
Taking the example in the doc and wanting to set the opacity to 0.5:

Minimal reproducible code
Current workaround
It's possible to change the opacity by not adding the attribute in the constructor but adding it after using
fig.update_traces(opacity=0.5)
. But I'll open a PR with a fix so you don't have to use that.The text was updated successfully, but these errors were encountered: