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

Skip to content

Commit 7bda43d

Browse files
committed
Fix numpification typo affecting mathtext output with Cairo backend.
svn path=/trunk/matplotlib/; revision=3636
1 parent a34268a commit 7bda43d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/backends/backend_cairo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def _draw_mathtext(self, gc, x, y, s, prop, angle):
335335
Xall[:,i] = npy.fromstring(s, npy.uint8)
336336

337337
# get the max alpha at each pixel
338-
Xs = npy.mlab.max (Xall,1)
338+
Xs = npy.max (Xall,1)
339339

340340
# convert it to it's proper shape
341341
Xs.shape = imh, imw

0 commit comments

Comments
 (0)