Skip to content

Commit

Permalink
Merge pull request #384 from monarch-initiative/remove_#_Codons
Browse files Browse the repository at this point in the history
Removing erroneous X-axis label (# Codons)
  • Loading branch information
pnrobinson authored Jan 6, 2025
2 parents 53f14df + 04db4ef commit f61d464
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/gpsea/view/_protein_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f61d464

Please sign in to comment.