You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
260 B
Python
16 lines
260 B
Python
4 years ago
|
import click
|
||
|
import pandas as pd
|
||
|
import matplotlib.pyplot as plt
|
||
|
|
||
|
|
||
|
@click.command()
|
||
|
@click.option("--csv", default="result.csv")
|
||
|
def main(csv):
|
||
|
df = pd.read_csv(csv, index_col="seconds")
|
||
|
df.plot()
|
||
|
plt.show()
|
||
|
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
main()
|