From e360c2d222a3e581be1944557051cd757f709680 Mon Sep 17 00:00:00 2001 From: James Crake-Merani Date: Mon, 20 Jan 2025 11:00:18 +0000 Subject: [PATCH] Change how args are passed in. --- src/sas/qtgui/Plotting/Plotter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sas/qtgui/Plotting/Plotter.py b/src/sas/qtgui/Plotting/Plotter.py index 1f7ffa3399..5676a0e2d7 100644 --- a/src/sas/qtgui/Plotting/Plotter.py +++ b/src/sas/qtgui/Plotting/Plotter.py @@ -906,12 +906,12 @@ def onCusotmizeLabel(self): # self.ax.tick_params(axis='x', labelsize=fx.size, labelcolor=fx.color) from matplotlib.pyplot import gca a = gca() - a.set_xticklabels(a.get_xticks(), fx) + a.set_xticklabels(a.get_xticks(), **fx) if apply_y: # self.ay.tick_params(axis='y', labelsize=fy.size, labelcolor=fy.color) from matplotlib.pyplot import gca a = gca() - a.set_yticklabels(a.get_yticks(), fy) + a.set_yticklabels(a.get_yticks(), **fy) self.canvas.draw_idle() def onMplMouseDown(self, event):