Avoid showing a black background before the plot is ready with Qt5agg backend #19755
Labels
Difficulty: Medium
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
GUI: Qt
Maintenance
status: upstream fix required
Milestone
When I open a window to show a plot, the background of the canvas is first black for some time until the plot is ready. This can be up to several seconds for large datasets.
This is just a cosmetic annoyance, since the user experiences a "flickering" of the window.
I am using using Matplotlib 3.3.4 with Qt5 on Windows 10.
In an older release I used before (1.4.2 with Qt4) the window is not shown until the plot is ready, so the issue is never seen.
I suggest that the background color of the widget is shown before the plot is drawn.
The text was updated successfully, but these errors were encountered: