我希望找到当前设置的y轴限制的快速代码,如下所示
# Set the Y Axis Limits
ax.set_ylim(0,100)
我希望根据我们的数据点将100换成可变/可调y水平,如下所示:
import pandas as pd
import matplotlib.pyplot as plt
s = pd.Series(
[8, 24, 21, 23, 24],
index = ["Your Plan", "Benchmark", "Region", "Industry", "Size"]
)
应该是一个快速修复,我想。