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

Skip to content

Commit 32ed2ca

Browse files
committed
tiny fix to example code
svn path=/trunk/matplotlib/; revision=3440
1 parent 750bfed commit 32ed2ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/font_table_ttf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# a 16,16 array of character strings
2727
chars = [ ['' for c in range(16)] for r in range(16)]
28-
colors = [ [0.95 for c in range(16)] for r in range(16)]
28+
colors = [ [(0.95,0.95,0.95) for c in range(16)] for r in range(16)]
2929

3030
figure(figsize=(8,4),dpi=120)
3131
for ccode, glyphind in codes:

0 commit comments

Comments
 (0)