diff --git a/plotoageo.py b/plotoageo.py index 75edbed..61c6991 100644 --- a/plotoageo.py +++ b/plotoageo.py @@ -87,9 +87,9 @@ def main(): plt.title("Ratio of open:closed access of {} IPNI nomenclatural acts ({}-{})".format(coverage,args.year_min,args.year_max)) ax.xaxis.set_visible(False) ax.yaxis.set_visible(False) - ax.legend(loc='lower left') + plt.legend(loc='lower left') fig.tight_layout(pad=0) - plt.savefig(args.outputfile_oa, bbox_inches='tight',pad_inches = 0, dpi = 400) + plt.savefig(args.outputfile_oa, bbox_inches='tight',pad_inches = 0.1, dpi = 400) # 3.2 plotting the percentage of unfindable publications fig, ax = plt.subplots(1, 1) @@ -97,9 +97,9 @@ def main(): plt.title("Proportion of un-discoverable publications of {} IPNI nomenclatural acts ({}-{})".format(coverage,args.year_min,args.year_max)) ax.xaxis.set_visible(False) ax.yaxis.set_visible(False) - ax.legend(loc='lower left') + plt.legend(loc='lower left') fig.tight_layout(pad=0) - plt.savefig(args.outputfile_unknown, bbox_inches='tight',pad_inches = 0, dpi = 400) + plt.savefig(args.outputfile_unknown, bbox_inches='tight',pad_inches = 0.1, dpi = 400) if __name__ == "__main__": main()