Ver Fonte

Show host as plot title

Matthias Vogelgesang há 7 anos atrás
pai
commit
c07425ac05
1 ficheiros alterados com 1 adições e 0 exclusões
  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: