From 8dcb0a298eba58411455919c5e2859f9d328a936 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Mon, 22 Apr 2024 16:40:58 +0200 Subject: [PATCH] Pamhyr2: View: Tools: Add comment. --- src/View/Tools/PamhyrPlot.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/View/Tools/PamhyrPlot.py b/src/View/Tools/PamhyrPlot.py index 309c4b7b..b934a3ac 100644 --- a/src/View/Tools/PamhyrPlot.py +++ b/src/View/Tools/PamhyrPlot.py @@ -70,17 +70,17 @@ class PamhyrPlot(APlot): self._label_x = "X" self._label_y = "Y" - self._isometric_axis = True + self._isometric_axis = True #: Use isometric view - self._auto_relim = True - self._autoscale = True + self._auto_relim = True #: Auto relim axes at plot creation + self._autoscale = True #: Auto scale at plot creation - self._auto_relim_update = False - self._autoscale_update = False + self._auto_relim_update = False #: Auto relim axes at plot update + self._autoscale_update = False #: Auto scale at plot creation - self._highlight_data = None + self._highlight_data = None #: Data identifier to highlight (free type) self._highlight_data_update = False - self._current_data = None + self._current_data = None #: Current data identifier (free type) self._current_data_update = False super(PamhyrPlot, self).__init__(data=data) @@ -99,6 +99,7 @@ class PamhyrPlot(APlot): @property def label_x(self): + """Plot X axes label""" return self._label_x @label_x.setter @@ -107,6 +108,7 @@ class PamhyrPlot(APlot): @property def label_y(self): + """Plot Y axes label""" return self._label_x @label_y.setter -- GitLab