matplotlib/matplotlib — pull request #3119 by agardelein (2014-06-06 21:23:16+00:00)
Title: Remove the check on path length over 18980 in Cairo backend

According to thread of http://comments.gmane.org/gmane.comp.python.matplotlib.general/33993 the check is not needed anymore.
This allows the rectangle selector example to display the curves.
(However it still stops with AttributeError: 'FigureCanvasGTK3Cairo' object has no attribute 'copy_from_bbox').