SpanSelector is a powerful widget that allows to define a particular region in a Figure. Some time ago I switched to python3 and needed to use gtk3cairo instead of gtkagg; to my knowledge there is still a message preventing using agg backend with python3. Unfortunately since then I am not able to use SpanSelector widget with gtk3cairo. For instance with the example [1], an error message appears: File "/usr/lib/python3/dist-packages/matplotlib/widgets.py", line 1197, in update_background self.background = self.canvas.copy_from_bbox(self.ax.bbox) AttributeError: 'FigureCanvasGTK3Cairo' object has no attribute 'copy_from_bbox' This using version 1.4.2 of matplotlib.
Does exists a way to have SpanSelector operating with gtk3cairo backend ? I tried to look down to the code of gtkagg but it refers to the C implementation of the library (_RendererAgg), is there an equivalent in Cairo ? Arnaud. [1] http://matplotlib.org/examples/widgets/span_selector.html ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel