Skip to content

Commit

Permalink
- Change: changed the title of the figure of the basic plot part to m…
Browse files Browse the repository at this point in the history
…ake the title more clear.
  • Loading branch information
byemaxx committed Nov 19, 2024
1 parent 68d9de2 commit 6ff3ec5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions Docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 3 additions & 3 deletions metax/taxafunc_ploter/basic_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion metax/utils/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '1.118.2'
__version__ = '1.118.3'
API_version = '3'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 6ff3ec5

Please sign in to comment.