draw new graph each library

fixes x-axis from slipping and previous stats overlay
This commit is contained in:
blacktwin 2021-04-15 00:38:42 -04:00
parent 4a67ece43d
commit 57b91ff139

View File

@ -168,11 +168,10 @@ if __name__ == '__main__':
# Defining libraries
libraries = exclusions(opts.allLibraries, opts.libraries, sections_dict)
graph = graph_setup()
for library in libraries:
library_title = sections_dict.get(library)
print("Starting {}".format(library_title))
graph = graph_setup()
plex_growth(library, graph)
plex_released(library, graph)
plt.savefig('{}_library_growth.png'.format(library_title), bbox_inches='tight', dpi=100)