Skip to content

Commit

Permalink
small fixes for displaying chart
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeluca committed Oct 15, 2023
1 parent bc73c14 commit 9bdb3d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,16 @@ def main(args):

plt.xlabel('Date', fontsize=14)
plt.ylabel('Count', fontsize=14)
plt.title('Test File Count by extension in Instrumentation Directory', fontsize=16)
plt.title('Test File Count by Language in Instrumentation Directory', fontsize=16)
plt.xticks(rotation=45)

plt.legend()
plt.tight_layout()

if len(args.output) > 0:
if args.output is not None:
plt.savefig(args.output)
plt.draw()
else:
plt.show()


if __name__ == '__main__':
Expand Down
Binary file modified media/example_output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/example_output2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9bdb3d3

Please sign in to comment.