目标:使用errorbar绘制单点的非对称x误差条。我想要显示数据集的四分位数区间(IQR)。代码:import matplotlib.pyplot as plt
data = np.random.rand(100)
ret = ax.errorbar(x, y, yerr, xerr, fmt, ecolor, elinewidth, capsize
我正在浏览,他们的地块有上限和下限,有一个附加的垂直线来显示他们结束的时间。但是,当我在python3.7vscode中使用与完全相同的代码时,我得到了以下内容:为什么?,我希望x和y限制上的额外优势行总是显示。我该怎么做?教程代码:Demo of the errorbar function, including upper and lower limitsimpor