引入外部文件,函数
from 文件名 import 函数名(如果引入所有函数,函数名为*)
如果要改变名
import 文件名 as 新名
python画图小记
数据点图
x=[1,2,3,4,5]
y=[1,4,9,16,25]
draw.plot(x,y)
draw.show()

两个图
fig,ax = draw.subplots() # Create a figure containing a single axes.
ax.plot([1, 2, 3, 4], [1, 4, 2, 3]); # Plot some data on the axes.
fig,ax1 = draw.subplots() # Create a figure containing a single axes.
ax1.plot([1, 2, 3, 4], [4, 1, 9, 0]); # Plot some data on the axes.
draw.show()