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
A memory leak occurs during every frame draw when PySide2 is used with Python3. This issue was already fixed for PySide in the method matplotlib.backends.backend_qt5agg.FigureCanvasQtAgg.paintEvent
However, an additional check for QT_API == 'PySide2' is needed.
@dabana Thank you. I sort of managed to get the fix into a merge request. However, I will have a closer look at the developer-guide in order to do it properly next time. Cheers.
Bug report
A memory leak occurs during every frame draw when PySide2 is used with Python3. This issue was already fixed for PySide in the method
matplotlib.backends.backend_qt5agg.FigureCanvasQtAgg.paintEvent
However, an additional check for
QT_API == 'PySide2'
is needed.Code for reproduction
Actual outcome
When a redraw of the figurecanvas is forced, the program memory increases steadily. For example during resizing the popup window.
Expected outcome
Constant memory during ui execution.
Matplotlib version
print(matplotlib.get_backend())
): Qt5Aggall packages are pip installed
The text was updated successfully, but these errors were encountered: