Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove dead code in patches

The pad variable was never used in this function, so it is being
removed. It also depended on a kwarg, which was also not used.
  • Loading branch information...
commit 48e16ed1401c3f7c14b8035a37714be0a16e210a 1 parent 222a358
@dmcdougall authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 lib/matplotlib/
8 lib/matplotlib/
@@ -1593,18 +1593,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
Please sign in to comment.
Something went wrong with that request. Please try again.