Skip to content

Commit 1256097

Browse files
authored
Merge pull request #133 from jbelyeu/master
remove y-axis tick scientific notation
2 parents 3087524 + 8bef03d commit 1256097

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

samplot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env python
2-
__version__ = "1.1.4"
2+
__version__ = "1.1.5"

samplot/samplot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2953,6 +2953,8 @@ def plot_samples(
29532953
# if there's one hp, 6 ticks fit. Otherwise, do 3
29542954
tick_count = 6 if len(hps) == 1 else 3
29552955
curr_ax.yaxis.set_major_locator(ticker.LinearLocator(tick_count))
2956+
curr_ax.ticklabel_format(useOffset=False, style='plain')
2957+
29562958
curr_ax.tick_params(axis="both", length=0)
29572959
curr_ax.set_xticklabels([])
29582960
if coverage_only:

0 commit comments

Comments
 (0)