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
The following code works in plotly, but does not work when wrapping the constructor with FigureResampler.
trace= {
"type": "scatter",
# "x": [1, 2, 3],"y": np.arange(5_000),
"name": "some_trace", # is not even required
}
fig=go.Figure() # wrapping this will failfig.add_trace(trace)
We can support dict representation on 2 places;
in the constructor of AbstractFigureAggregator (-> not really sure if we want to do this)
in the add_trace method -> our type hinting indicates that we support dict input, but this is clearly not the case
The text was updated successfully, but these errors were encountered:
The following code works in plotly, but does not work when wrapping the constructor with
FigureResampler
.We can support dict representation on 2 places;
AbstractFigureAggregator
(-> not really sure if we want to do this)add_trace
method -> our type hinting indicates that we support dict input, but this is clearly not the caseThe text was updated successfully, but these errors were encountered: