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
{{ message }}
Repository navigation
[Bug]: Any operation on matplotlib fails due to gtk4 backend error #25602
On the other hand there was a fix in #25280 that seems very related. This was merged into 3.7.1, so if you get hold of the latest Matplotlib version, it should work!(?)
Given this does appear to be addressed on main (and even a release) already, as @oscargus points out, I'll go ahead and close this, feel free to re-ping us/reopen if that does not actually address the issue.
Activity
oscargus commentedon Apr 3, 2023
Strange. I am in no way an expert on this, but did a quick search and in the C/C++ interface
load_from_datatakes another argument, the length of the "string" (byte-sequence). However, the Python binding only takes the "string": https://amolenaar.github.io/pgi-docgen/#Gtk-4.0/classes/CssProvider.html#Gtk.CssProvider.load_from_dataoscargus commentedon Apr 3, 2023
On the other hand there was a fix in #25280 that seems very related. This was merged into 3.7.1, so if you get hold of the latest Matplotlib version, it should work!(?)
matplotlib/lib/matplotlib/backends/backend_gtk4.py
Lines 78 to 81 in 5ce21e3
ksunden commentedon Apr 3, 2023
Given this does appear to be addressed on
main(and even a release) already, as @oscargus points out, I'll go ahead and close this, feel free to re-ping us/reopen if that does not actually address the issue.