提交 b7482dda 编写于 作者: M MaoXianxin

Change parameters

上级 4be65bfd
......@@ -6,7 +6,7 @@ import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--sort_values', default='notification count', type=str)
parser.add_argument('--result_name', default='weekly_growth.csv', type=str)
parser.add_argument('--use_cols', default=['project full path', 'project url', 'notification count', 'star count'], type=list)
parser.add_argument('--use_cols', default=['project path', 'project url', 'notification count', 'star count'], type=list)
args = parser.parse_args()
......@@ -31,7 +31,7 @@ for notification_count, num in dict_notification.items():
filter_dict[notification_count] = num
plt.bar(filter_dict.keys(), filter_dict.values(), width=3, color='g')
plt.bar(filter_dict.keys(), filter_dict.values(), width=1, color='g')
plt.show()
plt.plot(filter_dict.keys(), filter_dict.values())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册