Skip to content

Commit 2e84c0d

Browse files
committed
Fix naming in ANOVA plots
1 parent 820dc51 commit 2e84c0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mixalime/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '2.22.2'
1+
__version__ = '2.22.3'
22
import importlib
33

44

mixalime/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def plot_barplot(groups, values, n_rows, i, variance=None, legend_colors=False):
432432
plt.suptitle((title + '\tWhiskers S.D.').expandtabs(), horizontalalignment='left', verticalalignment='top', x=0, fontsize=18)
433433
plt.tight_layout()
434434
name = snv_name if snv_name else '_'.join(map(str, snv.ind))
435-
plt.savefig(os.path.join(folder, f'{name}_{allele}.{ext}'))
435+
plt.savefig(os.path.join(folder, f'{name}_{ind[-1]}_{allele}.{ext}'))
436436

437437
def visualize(name: str, output: str, what: str, fmt='png', slices=(5, 10, 15, 20, 30, 40, 50),
438438
max_count=100, slice_ref=True, fbad=None, show_bad=True, dpi=200):

0 commit comments

Comments
 (0)