matplotlib基础
基本绘图
import matplotlib.pyplot as plt
import numpy as np# 创建一个包含坐标的plt图
fig, ax = plt.subplots()
# 在数据图中展示数据, 第一个数据代表横坐标,第二个数据代表纵坐标
ax.plot([1, 2, 3, 4], [1, 4, 2, 3])
图表中的重要说明

Axes
Axis
Artist
pandas和numpy的数据导入
Last updated