draw new graph each library
fixes x-axis from slipping and previous stats overlay
This commit is contained in:
parent
4a67ece43d
commit
57b91ff139
@ -168,11 +168,10 @@ if __name__ == '__main__':
|
|||||||
# Defining libraries
|
# Defining libraries
|
||||||
libraries = exclusions(opts.allLibraries, opts.libraries, sections_dict)
|
libraries = exclusions(opts.allLibraries, opts.libraries, sections_dict)
|
||||||
|
|
||||||
graph = graph_setup()
|
|
||||||
|
|
||||||
for library in libraries:
|
for library in libraries:
|
||||||
library_title = sections_dict.get(library)
|
library_title = sections_dict.get(library)
|
||||||
print("Starting {}".format(library_title))
|
print("Starting {}".format(library_title))
|
||||||
|
graph = graph_setup()
|
||||||
plex_growth(library, graph)
|
plex_growth(library, graph)
|
||||||
plex_released(library, graph)
|
plex_released(library, graph)
|
||||||
plt.savefig('{}_library_growth.png'.format(library_title), bbox_inches='tight', dpi=100)
|
plt.savefig('{}_library_growth.png'.format(library_title), bbox_inches='tight', dpi=100)
|
||||||
|
Loading…
Reference in New Issue
Block a user