Skip to content

Commit c4b2e2a

Browse files
committed
Remove noop setattr_cm.
Followup to 43bff96.
1 parent d7ffff2 commit c4b2e2a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/patches.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,9 +586,7 @@ def draw(self, renderer):
586586
# docstring inherited
587587
if not self.get_visible():
588588
return
589-
590-
with cbook._setattr_cm(self, _dash_pattern=(self._dash_pattern)), \
591-
self._bind_draw_path_function(renderer) as draw_path:
589+
with self._bind_draw_path_function(renderer) as draw_path:
592590
path = self.get_path()
593591
transform = self.get_transform()
594592
tpath = transform.transform_path_non_affine(path)

0 commit comments

Comments
 (0)