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

Skip to content

Commit 3efbf16

Browse files
committed
conform to pep8
1 parent fbdc81a commit 3efbf16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/table.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def __init__(self, ax, loc=None, bbox=None, **kwargs):
243243

244244
self._cachedRenderer = None
245245
self._cellType = 'default'
246-
self._cellCreation = {"default" : Cell, "scicell" : SciCell}
246+
self._cellCreation = {"default": Cell, "scicell": SciCell}
247247

248248
def add_cell(self, row, col, *args, **kwargs):
249249
""" Add a cell to the table. """
@@ -523,7 +523,8 @@ def table(ax,
523523
Thanks to John Gill for providing the class and table.
524524
"""
525525
if cellType is not None and cellType not in ('default', 'scicell'):
526-
raise ValueError('cellType must be "default" or "scicell" instead of %s ' % cellType)
526+
raise ValueError('cellType must be "default" or "scicell" '
527+
'instead of %s ' % cellType)
527528

528529
# Check we have some cellText
529530
if cellText is None:

0 commit comments

Comments
 (0)