Skip to content

Commit

Permalink
Merge pull request #1480 from dmcdougall/fix_patches_dead_code
Browse files Browse the repository at this point in the history
Remove dead code in patches
  • Loading branch information
dmcdougall committed Nov 15, 2012
2 parents 952b56e + 48e16ed commit 0287036
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/matplotlib/patches.py
Expand Up @@ -1600,18 +1600,12 @@ def _pprint_table(_table, leadingspace=2):
return "\n".join(lines)


def _pprint_styles(_styles, leadingspace=2):
def _pprint_styles(_styles):
"""
A helper function for the _Style class. Given the dictionary of
(stylename : styleclass), return a formatted string listing all the
styles. Used to update the documentation.
"""
# FIXME pad isn't used, which means leadingspace is not use.
if leadingspace:
pad = ' ' * leadingspace
else:
pad = ''

names, attrss, clss = [], [], []

import inspect
Expand Down

0 comments on commit 0287036

Please sign in to comment.