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

Skip to content

Commit ab37ed5

Browse files
committed
Remove unnecessary deprecation warning context
1 parent d479893 commit ab37ed5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,8 +810,7 @@ def __contains__(self, key):
810810

811811
def __iter__(self):
812812
"""Yield from sorted list of keys"""
813-
with _api.suppress_matplotlib_deprecation_warning():
814-
yield from sorted(self._rcvalues.keys())
813+
yield from sorted(self._rcvalues.keys())
815814

816815
def __len__(self):
817816
return len(self._rcvalues)

0 commit comments

Comments
 (0)