From 6ff3ec55ee021dbdd28c2fe77e51a3db9237d975 Mon Sep 17 00:00:00 2001 From: Qing <44231502+byemaxx@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:49:34 -0500 Subject: [PATCH] - Change: changed the title of the figure of the basic plot part to make the title more clear. --- Docs/ChangeLog.md | 6 ++++++ metax/taxafunc_ploter/basic_plot.py | 6 +++--- metax/utils/version.py | 2 +- pyproject.toml | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Docs/ChangeLog.md b/Docs/ChangeLog.md index 521a444..d21732d 100644 --- a/Docs/ChangeLog.md +++ b/Docs/ChangeLog.md @@ -1,3 +1,9 @@ +# Version: 1.118.3 +## Date: 2024-11-19 +### Changes: +- Change: changed the title of the figure of the basic plot part to make the title more clear. + + # Version: 1.118.2 ## Date: 2024-11-8 ### Changes: diff --git a/metax/taxafunc_ploter/basic_plot.py b/metax/taxafunc_ploter/basic_plot.py index f4b14a0..bf85fe9 100644 --- a/metax/taxafunc_ploter/basic_plot.py +++ b/metax/taxafunc_ploter/basic_plot.py @@ -78,7 +78,7 @@ def plot_taxa_stats_pie(self, theme:str = 'Auto', res_type = 'pic', font_size = a.set_text(f'{count[i]}') - plt.title('Number of identified peptides in different taxa level', fontsize=font_size+2, loc='center', fontweight='bold') + plt.title('Number of identified peptides at different levels', fontsize=font_size+2, loc='center', fontweight='bold') plt.setp(autotexts, size=font_size, color="white") plt.setp(texts, size=font_size) @@ -112,8 +112,8 @@ def plot_taxa_number(self, peptide_num = 1, theme:str = 'Auto', res_type = 'pic' # set the label of the bar, and fontsize ax.bar_label(i, fontsize=font_size) - ax.set_title(f'Number of taxa in different taxa level (Peptide number >= {peptide_num})', fontsize=font_size+2, fontweight='bold') - ax.set_xlabel('Taxa level', fontsize=font_size+2) + ax.set_title(f'Number of taxa at different levels (Peptide number >= {peptide_num})', fontsize=font_size+2, fontweight='bold') + ax.set_xlabel('Taxonomic level', fontsize=font_size+2) ax.set_ylabel('Number of taxa', fontsize=font_size+2) # set font size of xtikcs and yticks ax.set_xticklabels(ax.get_xticklabels(), fontsize=font_size) diff --git a/metax/utils/version.py b/metax/utils/version.py index d467f5e..3db4266 100644 --- a/metax/utils/version.py +++ b/metax/utils/version.py @@ -1,2 +1,2 @@ -__version__ = '1.118.2' +__version__ = '1.118.3' API_version = '3' \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index fd170fb..210fb39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "MetaXTools" -version = "1.118.2" +version = "1.118.3" description = "MetaXTools is a novel tool for linking peptide sequences with taxonomic and functional information in Metaproteomics." readme = "README_PyPi.md" license = { text = "NorthOmics" }