Skip to content

Commit dc67b1a

Browse files
committed
fix: improve y-axis ticker to include 0 when using clip_min
1 parent 90a69d3 commit dc67b1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

malariagen_data/anoph/fst.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def plot_fst_gwss_track(
252252

253253
# tidy up the plot
254254
fig.yaxis.axis_label = "Fst"
255-
fig.yaxis.ticker = [clip_min, 1]
255+
fig.yaxis.ticker = sorted(set([clip_min, 0, 1]))
256256
self._bokeh_style_genome_xaxis(fig, contig)
257257

258258
if show: # pragma: no cover

0 commit comments

Comments
 (0)