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

Skip to content

Commit 167b2dd

Browse files
committed
removed pylab import line that was commented out
1 parent b830fec commit 167b2dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/pylab_examples/font_table_ttf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import matplotlib
1414
from matplotlib.ft2font import FT2Font
1515
from matplotlib.font_manager import FontProperties
16-
# from pylab import figure, table, show, axis, title
1716
import matplotlib.pyplot as plt
1817

1918
import six
@@ -40,7 +39,7 @@
4039
chars = [['' for c in range(16)] for r in range(16)]
4140
colors = [[(0.95, 0.95, 0.95) for c in range(16)] for r in range(16)]
4241

43-
figure(figsize=(8, 4), dpi=120)
42+
plt.figure(figsize=(8, 4), dpi=120)
4443
for ccode, glyphind in codes:
4544
if ccode >= 256:
4645
continue

0 commit comments

Comments
 (0)