哪位大神帮看看什么原因?
import numpy as npfrom matplotlib import pylab
import seaborn as sns
font.set_size(20)
x=np.linspace(1.0,13,7)
y=np.sin(x)
pylab.figure(figsize=(12,6))
pylab.scatter(x,y,s=85,marker='x',color='r')
pylab.title(u'$f(x)$散点图',fontproperties=font)
提示错误:
File "D:\python\learn\绘制散点图.py", line 8
pylab.scatter(x,y,s=85,marker='x',color='r')
^
SyntaxError: invalid character in identifier
请按任意键继续. . .