Hello,
Iām trying to plot stack traces using plotly express px.line. With a rather small pandas dataframe, px.line generates a figure with scatter objects, thus I succeeded by using:
fig.update_traces(stackgroup=āoneā, mode=ālinesā)
While upscaling to a larger dataframe using the same script, px.line generates a figure with scattergl objects and I face the following error:
Invalid property specified for object of type plotly.graph_objs.Scattergl: āstackgroupā
Looking at the documentation (checked on 09/10/20), there is indeed no āstackgroupā property for scattergl, even though there are references to it in āfillā attribute.
Q1: Is it possible to āforceā px.line to use scatter instead of scattergl?
I guess a simple workaround is to generate a figure without px and explicitly use scatter instead of scattergl; at the cost of code readability (px is a really nice feature for this) and performance.
Q2: Would it be possible to align scattergl documentation and behaviour by either adding stacking feature or editing āfillā chapter of documentation? - Iām not sure itās the right place to ask thoughā¦ sorry for that.
Many thanks,
James
env: windows 10 / python 3.7.3 (anaconda) / plotly 4.11.0