3.5.3 的 API 变更# 按位置传递 linefmt 未被弃用 按位置传递 linefmt 未被弃用# 自 Matplotlib 3.5 起,stem 中所有格式参数的位置使用已被弃用。此弃用已放宽,因此仍可以通过位置传递 linefmt,即 stem(x, y, 'r')。