浏览代码

Show host as plot title

Matthias Vogelgesang 7 年之前
父节点
当前提交
c07425ac05
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plot

+ 1 - 0
plot

@@ -34,6 +34,7 @@ if __name__ == '__main__':
 
         df = pd.DataFrame(data, index=pd.to_datetime(dates))
         df.plot()
+        plt.title(host)
 
 
     if args.output: