From 78beb13ef0eedda1912f2179b42e27a2a844b186 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 1 Feb 2024 19:17:49 +0100 Subject: do not filter small segments for linear gradient graph (#2707) --- lib/stitches/linear_gradient_fill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stitches/linear_gradient_fill.py') diff --git a/lib/stitches/linear_gradient_fill.py b/lib/stitches/linear_gradient_fill.py index 47dcba2e..c1f0fb46 100644 --- a/lib/stitches/linear_gradient_fill.py +++ b/lib/stitches/linear_gradient_fill.py @@ -259,7 +259,7 @@ def _get_stitch_groups(fill, shape, colors, color_lines, starting_point, ending_ for i, color in enumerate(colors): lines = color_lines[color] - multiline = ensure_multi_line_string(MultiLineString(lines).intersection(shape), 1.5) + multiline = ensure_multi_line_string(MultiLineString(lines).intersection(shape)) if multiline.is_empty: continue -- cgit v1.2.3