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

Skip to content

Commit 3136906

Browse files
committed
Fix bug in table.py
1 parent 6a56f69 commit 3136906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ def table(ax,
586586
# assume just colours are needed
587587
rows = len(cellColours)
588588
cols = len(cellColours[0])
589-
cellText = [[''] * rows] * cols
589+
cellText = [[''] * cols] * rows
590590

591591
rows = len(cellText)
592592
cols = len(cellText[0])

0 commit comments

Comments
 (0)