|
From: Jon Roadley-B. <jon...@gm...> - 2014-02-27 23:58:28
|
Good evening, I am at present migrating an application of mine from py27+pygtk (with mpl) to py33+pygobject (gtk3) Unfortunately I am unable to use from matplotlib.backends.backend_gtk3agg import FigureCanvasGTK3Agg as FigureCanvasfrom matplotlib.backends.backend_gtk3 import NavigationToolbar2GTK3 as NavigationToolbar Which is is on the examples ( http://matplotlib.org/examples/user_interfaces/embedding_in_gtk3_panzoom.html) but is also the logical translation from what I presently have. This falls fowl of the cairo issue What I am having to use is backend_gtk3cairo. However this is being triggered raise ValueError("The Cairo backend can not draw paths longer than 18980 points.") I am generally plotting 7 x-y plots with upto 30,000 points. Now for now I have commented this out from my local install, is there a better/preferred/recommended alternative? I have read about cairocffi but this doesn't seem conveniently possible at this moment in time (especially for windows) Equally I have seen mpl-devel mailing list entries from 4years ago stating that this check was to be removed (a cairo 1.4.10 issue) JonRB |