Explorar el Código

Show host as plot title

Matthias Vogelgesang hace 8 años
padre
commit
c07425ac05
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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: