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

Skip to content

Commit 0287036

Browse files
committed
Merge pull request #1480 from dmcdougall/fix_patches_dead_code
Remove dead code in patches
2 parents 952b56e + 48e16ed commit 0287036

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/matplotlib/patches.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,18 +1600,12 @@ def _pprint_table(_table, leadingspace=2):
16001600
return "\n".join(lines)
16011601

16021602

1603-
def _pprint_styles(_styles, leadingspace=2):
1603+
def _pprint_styles(_styles):
16041604
"""
16051605
A helper function for the _Style class. Given the dictionary of
16061606
(stylename : styleclass), return a formatted string listing all the
16071607
styles. Used to update the documentation.
16081608
"""
1609-
# FIXME pad isn't used, which means leadingspace is not use.
1610-
if leadingspace:
1611-
pad = ' ' * leadingspace
1612-
else:
1613-
pad = ''
1614-
16151609
names, attrss, clss = [], [], []
16161610

16171611
import inspect

0 commit comments

Comments
 (0)