SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Francesco F. <f.f...@gm...> - 2018年07月05日 12:37:38
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
advance.
Best regards,
Francesco Faccenda
From: Chris B. - N. F. <chr...@no...> - 2018年07月06日 22:49:39
MPL does not have a backend that used "real" GPU rendering.
And it’s very hard to make one, due to the really low level nature of
OpenGL and similar APIs, and MPL’s rendering model.
You might try VisPy — it was designed for OpenGL from the start.
-CHB
Sent from my iPhone
On Jul 5, 2018, at 5:37 AM, Francesco Faccenda <f.f...@gm...>
wrote:
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
advance.
Best regards,
Francesco Faccenda
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Matplotlib-devel mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /