From 1f6763f9de951840aad3a6a769bd7e358763eaf5 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Fri, 16 Oct 2026 13:53:56 +0200 Subject: [PATCH] fix log scaling: replace removed basex= keyword with base= in set_xscale/set_yscale --- src/damaris/gui/DamarisGUI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/damaris/gui/DamarisGUI.py b/src/damaris/gui/DamarisGUI.py index b8b1083..d840235 100644 --- a/src/damaris/gui/DamarisGUI.py +++ b/src/damaris/gui/DamarisGUI.py @@ -4015,13 +4015,13 @@ class MonitorWidgets: # finally decide about x log plot if x_scale == "log10" and xmin > 0: - self.matplot_axes.set_xscale( "log", basex=10.0 ) + self.matplot_axes.set_xscale( "log", base=10.0 ) self.matplot_axes.fmt_xdata = lambda x: "%g" % x #elif x_scale=="log" and xmin>0: # e scaling implementation not really useful # self.matplot_axes.set_xscale("log", basex=numpy.e) if y_scale == "log10" and ymin > 0: - self.matplot_axes.set_yscale( "log", basex=10.0 ) + self.matplot_axes.set_yscale( "log", base=10.0 ) self.matplot_axes.fmt_ydata = lambda x: "%g" % x self.__rescale = False