initial import
This commit is contained in:
13
example/load/simulate/client/plot.py
Normal file
13
example/load/simulate/client/plot.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user