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

Skip to content

Commit 4ea152b

Browse files
committed
Fix log expression.
svn path=/trunk/matplotlib/; revision=3766
1 parent c7367b0 commit 4ea152b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/mathtext_wx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def mathtext_to_wxbitmap(s):
3131
(r'$\sin(2 \pi x)$' , lambda x: sin(2*pi*x)),
3232
(r'$\frac{4}{3}\pi x^3$' , lambda x: (4.0 / 3.0) * pi * x**3),
3333
(r'$\cos(2 \pi x)$' , lambda x: cos(2*pi*x)),
34-
(r'$\log x$' , lambda x: log(x))
34+
(r'$\log(x)$' , lambda x: log(x))
3535
]
3636

3737
class CanvasFrame(wx.Frame):

0 commit comments

Comments
 (0)