注册 登录
编程论坛 Python论坛

无法绘图

qdlaoshu 发布于 2023-07-25 07:07, 281 次点击
import matplotlib.pyplot
%matplotlib inline
matplotlib.pyplot.imshow(a,interpolation="nearest")
<matplotlib.image.AxesImage at 0x108917710>


提示:

runfile('E:/Python/3-3.py', wdir='E:/Python')
  File "E:\Python\3-3.py", line 138
    <matplotlib.image.AxesImage at 0x108917710>
    ^
SyntaxError: invalid syntax
0 回复
1