Skip to content

Commit ce3eeaa

Browse files
committed
Merge pull request #5006 from xuanyuansen/patch-1
DOC: fix typo on example closes #5005
2 parents eb53398 + 11d1b51 commit ce3eeaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/table_demo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
value_increment = 1000
1919

2020
# Get some pastel shades for the colors
21-
colors = plt.cm.BuPu(np.linspace(0, 0.5, len(columns)))
21+
colors = plt.cm.BuPu(np.linspace(0, 0.5, len(rows)))
2222
n_rows = len(data)
2323

2424
index = np.arange(len(columns)) + 0.3

0 commit comments

Comments
 (0)