Skip to content

Commit 490d56f

Browse files
committed
Removing the check for path length; this seems not needed with recent
versions of cairo/pycairo. svn path=/trunk/matplotlib/; revision=8142
1 parent deecd64 commit 490d56f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/backends/backend_cairo.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ def convert_path(ctx, path, transform):
138138

139139

140140
def draw_path(self, gc, path, transform, rgbFace=None):
141-
if len(path.vertices) > 18980:
142-
raise ValueError("The Cairo backend can not draw paths longer than 18980 points.")
143-
144141
ctx = gc.ctx
145142

146143
transform = transform + \

0 commit comments

Comments
 (0)