def plotHistogram(series, x_label, scale = "linear", normed=False, name = None):
figure_name = "histogram"
if name:
figure_name = name + "_" + figure_name
figure = pyplot.figure()
axis = figure.add_subplot(1, 1, 1)
seaborn.distplot(series, kde = False, norm_hist=normed,ax = axis)
axis.set_yscale(scale)
axis.set_xlabel(x_label)
# axis.set_ylabel(y_label)
data.saveFigure(figure, figure_name)
analysis.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录