From b5859948104f9731218732c6cbf90f0e4b795ee2 Mon Sep 17 00:00:00 2001 From: Nicky Nicolson Date: Fri, 25 Nov 2022 18:33:33 +0000 Subject: [PATCH] Mod legend loc (issue #5) --- plotoageo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plotoageo.py b/plotoageo.py index 4814e9c..75edbed 100644 --- a/plotoageo.py +++ b/plotoageo.py @@ -87,6 +87,7 @@ 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') fig.tight_layout(pad=0) plt.savefig(args.outputfile_oa, bbox_inches='tight',pad_inches = 0, dpi = 400) @@ -96,6 +97,7 @@ 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') fig.tight_layout(pad=0) plt.savefig(args.outputfile_unknown, bbox_inches='tight',pad_inches = 0, dpi = 400)