Skip to content

Commit 02dddac

Browse files
committed
graph writes images to doc
1 parent 3cd1a22 commit 02dddac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

graph

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def box(obj):
4343
ax.set_xlim(left=0)
4444
ax.set_xlabel('milliseconds')
4545
plt.title(group)
46-
plt.show()
46+
plt.savefig('doc/{}.png'.format(group.replace(' ', '_').replace('.json', '')))
47+
plt.close()
4748

4849
def bar(obj):
4950
res = {key: [] for key in LIBRARIES}

0 commit comments

Comments
 (0)