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

Skip to content

Commit c31dba4

Browse files
authored
Merge pull request #26325 from oscargus/unusedvariables
Remove unused variables
2 parents caa93d7 + 835014e commit c31dba4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/matplotlib/patches.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2618,9 +2618,7 @@ def _get_sawtooth_vertices(self, x0, y0, width, height, mutation_size):
26182618
# the sizes of the vertical and horizontal sawtooth are
26192619
# separately adjusted to fit the given box size.
26202620
dsx_n = round((width - tooth_size) / (tooth_size * 2)) * 2
2621-
dsx = (width - tooth_size) / dsx_n
26222621
dsy_n = round((height - tooth_size) / (tooth_size * 2)) * 2
2623-
dsy = (height - tooth_size) / dsy_n
26242622

26252623
x0, y0 = x0 - pad + hsz, y0 - pad + hsz
26262624
x1, y1 = x0 + width, y0 + height

0 commit comments

Comments
 (0)