From aefb8bcfe3fad15a404f9e525036e623279e2f23 Mon Sep 17 00:00:00 2001 From: Peter Robinson <peter.robinson@jax.org> Date: Sat, 21 Dec 2024 12:38:32 +0100 Subject: [PATCH] Removing erroneous X-axis label (# Codons) --- src/gpsea/view/_protein_visualizer.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gpsea/view/_protein_visualizer.py b/src/gpsea/view/_protein_visualizer.py index f3d06e105..36b5847a0 100644 --- a/src/gpsea/view/_protein_visualizer.py +++ b/src/gpsea/view/_protein_visualizer.py @@ -510,11 +510,7 @@ def draw_axes(ax, x_ticks, x_ticks_relative, y_ticks, max_marker_count, "# Variants", y_axis_x - 0.05, (y_axis_min_y + y_axis_max_y) / 2, fontsize=font_size, ha='center', va='center', rotation=90, ) - draw_string( # x axis label - ax, - "# Codons", (x_axis_min_x + x_axis_max_x) / 2, x_axis_y - 0.05, - fontsize=font_size, ha='center', va='center', rotation=0, - ) + # Note that we do not label the X-axis, the meaning will be obvious to users (amino acid residues) # draw y ticks draw_line( # 0 tick ax,