You've already forked coreutils-tracking
mirror of
https://github.com/uutils/coreutils-tracking.git
synced 2026-06-10 16:12:04 -07:00
16 lines
297 B
Python
16 lines
297 B
Python
import matplotlib.pyplot as plt
|
|
import pandas as pd
|
|
d = pd.read_json("gnu-result.json")
|
|
df = pd.DataFrame(d)
|
|
df = df.transpose()
|
|
print (df)
|
|
|
|
ax = plt.gca()
|
|
df.plot(y='total',color='blue',ax=ax)
|
|
df.plot(y='fail',color='red',ax=ax)
|
|
df.plot(y='pass',color='green',ax=ax)
|
|
|
|
plt.savefig('output.png')
|
|
|
|
|