We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6684fbc commit 26e08feCopy full SHA for 26e08fe
qwt/transform.py
@@ -166,7 +166,7 @@ def bounded(self, value):
166
Modify value to be a valid value for the transformation.
167
168
:param float value: Value to be bounded
169
- :return: Value unmodified
+ :return: Value modified
170
"""
171
return np.clip(value, self.LogMin, self.LogMax)
172
@@ -181,7 +181,7 @@ def transform(self, value):
181
182
:py:meth:`invTransform()`
183
184
- return np.log(value)
+ return np.log(self.bounded(value))
185
186
def invTransform(self, value):
187
0 commit comments