Skip to content

Commit

Permalink
fix readme, plots labels
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandomeyer committed May 19, 2023
1 parent 17ee29b commit c9e2bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ See [requirements.txt](requirements.txt) for all dependencies.

There are several options to install AMBER:

* [Bioconda](#conda)
* [Bioconda](#bioconda)
* [Python pip](#python-pip)
* [Docker](#docker)

Expand Down
2 changes: 1 addition & 1 deletion src/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def plot_taxonomic_results(df_summary_t, metrics_list, errors_list, file_name, o
axs.yaxis.set_major_locator(ticker.FixedLocator(vals))
axs.set_yticklabels(['{:3.0f}%'.format(x * 100) for x in vals])

lgd = plt.legend(metrics_list, loc=1, borderaxespad=0., handlelength=2, frameon=False)
lgd = plt.legend([utils_labels.LABELS[x] for x in metrics_list], loc=1, borderaxespad=0., handlelength=2, frameon=False)

plt.tight_layout()
fig.savefig(os.path.join(output_dir, 'taxonomic', tool, file_name + '.png'), dpi=100, format='png', bbox_extra_artists=(lgd,), bbox_inches='tight')
Expand Down

0 comments on commit c9e2bd9

Please sign in to comment.