OK, I found a solution. Thanks to some nice stackoverflow I was able to quickly figure out that my system currently supports the matplotlib backends ‘GTK3Agg’, ‘QTAgg’, ‘QtCairo’, ‘Qt5Agg’ and ‘WebAgg’. All of these natively support wayland (well, in case of WebAgg it depends on the browser), so I had to set the environment variable GDK_BACKEND=x11 (for GTK3Agg) or QT_QPA_PLATFORM=xcb (for the Qt based backends) to force xwayland usage. Then everything works smooth and I can finally share my interactive matplotlib plots during presentations ![]()
1 Like