You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
522 B

import pandas as pd
import datetime
import csv
import os
import matplotlib.pyplot as plt
from shutil import copyfile
df = pd.read_csv("/home/trackingv2/trackingv2.csv")
filter = [x_axis] + y_axes
title = "Tracking how many Tor HSDirs run a version that is non-v2"
df[filter].plot.line(x=x_axis, title=title, grid=True, rot=20, figsize=(6,5))
copyfile("/home/trackingv2/trackingv2.csv", "/var/www/data/v2.csv")
print("plotted "+title)