Skip to content

Commit

Permalink
Fix yticks warning (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycl6 authored Dec 9, 2024
1 parent 9b57c31 commit 280c2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MISO/misopy/sashimi_plot/plot_utils/plot_gene.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,10 @@ def plot_density(sashimi_obj, pickle_filename, event, plot_title=None, group_inf
curr_yticklabels.append("%.1f" %(label))
else:
curr_yticklabels.append("%d" %(label))
curr_ax.set_yticks(universal_yticks)
curr_ax.set_yticklabels(curr_yticklabels,
fontsize=font_size)
curr_ax.spines["left"].set_bounds(0, max_used_yval)
curr_ax.set_yticks(universal_yticks)
curr_ax.yaxis.set_ticks_position('left')
curr_ax.spines["right"].set_color('none')
if show_ylabel:
Expand Down

0 comments on commit 280c2ed

Please sign in to comment.