【可视化】(使用matplotlib画图)使用bar画柱状图,并标注数字
如图所示代码如下(来自莫烦):import matplotlib.pyplot as pltimport numpy as npn = 12X = np.arange(n)Y1 = (1 - X/float(n)) * np.random.uniform(0.5,1.0,n)Y2 = (1 - X/float(n)) * np.random.uniform(0.5,1....