Matplotlib v3.9 backend bug
photoniker opened this issue · 0 comments
photoniker commented
Plots using matplotlib 3.9 crashes with AttributeError in itom backend (demo_fill_features.py):
File "C:\itom/build_qt6/itom/itom-packages\mpl_itom\backend_itom_v3_6.py", line 567, in _draw_idle
self.draw()
File "C:\itom/build_qt6/itom/itom-packages\mpl_itom\backend_itom_v3_6.py", line 547, in draw
self.paintEvent()
File "C:\itom/build_qt6/itom/itom-packages\mpl_itom\backend_itomagg_v3_6.py", line 71, in paintEvent
buf = reg.to_string_argb() # this is faster than the Qt-original version cbook._unmultiplied_rgba8888_to_premultiplied_argb32...
^^^^^^^^^^^^^^^^^^
AttributeError: 'matplotlib.backends._backend_agg.BufferRegion' object has no attribute 'to_string_argb'