Skip to content

Commit f80a491

Browse files
Jacobluke-JAnns98
authored andcommitted
Solving set_label() FutureWarning
1 parent 9bfed8a commit f80a491

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dabest/misc_tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,7 @@ def lookup_value(text):
10181018
ticks_with_counts.append(f"{t}\n(N={value})")
10191019

10201020
fontsize_rawxlabel = plot_kwargs.get("fontsize_rawxlabel")
1021+
set_major_loc_method(plt.FixedLocator(get_ticks()))
10211022
set_label(ticks_with_counts, fontsize=fontsize_rawxlabel)
10221023

10231024
# Ensure ticks are at the correct locations

0 commit comments

Comments
 (0)