Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 710795d

Browse files
committed
Remove the check on path length over 18980 in Cairo backend
1 parent 0f049f7 commit 710795d

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
@@ -150,9 +150,6 @@ def convert_path(ctx, path, transform):
150150

151151

152152
def draw_path(self, gc, path, transform, rgbFace=None):
153-
if len(path.vertices) > 18980:
154-
raise ValueError("The Cairo backend can not draw paths longer than 18980 points.")
155-
156153
ctx = gc.ctx
157154

158155
transform = transform + \

0 commit comments

Comments
 (0)