-
引入模块
import matplotlib.pyplot as plt
- 常用函数
函数名 | 作用 | 参数 | 返回值 |
---|---|---|---|
matplotlib.pyplot.figure() | 创建一个图像 | 返回Figure对象 | |
subplot() | |||
plt.scatter() | 画一个散点图 |
引入模块
import matplotlib.pyplot as plt
函数名 | 作用 | 参数 | 返回值 |
---|---|---|---|
matplotlib.pyplot.figure() | 创建一个图像 | 返回Figure对象 | |
subplot() | |||
plt.scatter() | 画一个散点图 |