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
I’m trying to plot a stock price chart with a heatmap and a price scatter. However, when I add both the scatter and heatmap traces to the chart, the result is not what I expected.
Hello,
I’m trying to plot a stock price chart with a heatmap and a price scatter. However, when I add both the scatter and heatmap traces to the chart, the result is not what I expected.
plotly==5.15.0
plotly-resampler==0.8.3.2
dash==2.10.2.
Here’s my current code snippet:
As you can see from the images I posted below, when I add both traces, the chart doesn’t look ideal.
This chart is without FigureWidgetResampler, which is correct:
With FigureWidgetResampler, this is still correct when only price scatter exists:
With FigureWidgetResampler, this is not correct when both scatter and heatmap exists:
Also, I found that if add the scatter first then add the heatmap, the chart won't show anything.
Can anyone suggest how to solve this issue?
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: