[Matplotlib-devel] Cairo backends and OpenGL use

Francesco Faccenda f.faccenda86 at gmail.com
Thu Jul 5 08:37:29 EDT 2018

Dear all,

I am writing to you because of an issue regarding the use of OpenGL in
cairo backends from matplotlib. As I set a cairo backend with the
instruction matplotlib.Use(“WXCairo”), there is evidence that the graphic
computation is not being carried out by the graphic card.

Since the significative amount of plotted data, the chart are heavy and
slow when the user is interacting with them, so a graphic acceleration
would be really appreciated.

As a side note, I am embedding matplotlib canvas on wxPython stages, that’s
why I choose WXCairo as backend, at first. However, setting other backends
(GTKCario, TKCairo, Qt4Cairo, Qt5Cairo etc) while still using wx, still
provides a working code without any errors, even if the graphic card is
still not exploited.

Is this an actual malfunction or am I missing something? What should I do
to run matplotlib graphic computation on a graphic card? Thank you in

Best regards,

Francesco Faccenda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20180705/aad99144/attachment.html>

More information about the Matplotlib-devel mailing list