Closed da-h closed 1 year ago
Update: As mentioned in #904, flickering may still occur occasionally, but less frequently. Possibly https://github.com/plotly/react-plotly.js is a more robust solution?
I still suggest to merge this in, as it should provide a smoother although not perfect experience, yet.
Description
Quick redraws of Plots tends to flickering (see example below). This PR fixes this by using the optimized
Plotly.react
instead ofPlotly.newPlot
for each redraw.Motivation and Context
The bug has been spotted in #903. Edit: While this fix does improve the flickering, it may still occur. I suggest to still apply this more stable visualization and check alternative ideas in a future-PR.
How Has This Been Tested?
As suggested in #903, the flickering is best visible for heatmap plots. The following code-snippet reproduces the error.
Types of changes
Checklist:
py/visdom/VERSION
according to Semantic Versioning0.2.3
->0.2.4