From 6d40c9b1d37fc55a2402d9f5234f2ef96999fb73 Mon Sep 17 00:00:00 2001 From: Carlos H Brandt Date: Fri, 30 Aug 2019 22:50:55 +0200 Subject: [PATCH 1/2] Fix typos in docstring --- holoviews/operation/datashader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/holoviews/operation/datashader.py b/holoviews/operation/datashader.py index 0e5b8db076..8d169f22ca 100644 --- a/holoviews/operation/datashader.py +++ b/holoviews/operation/datashader.py @@ -75,11 +75,11 @@ class ResamplingOperation(LinkableOperation): if set to None.""") y_range = param.NumericTuple(default=None, length=2, doc=""" - The x_range as a tuple of min and max y-value. Auto-ranges + The y_range as a tuple of min and max y-value. Auto-ranges if set to None.""") x_sampling = param.Number(default=None, doc=""" - Specifies the smallest allowed sampling interval along the y-axis.""") + Specifies the smallest allowed sampling interval along the x-axis.""") y_sampling = param.Number(default=None, doc=""" Specifies the smallest allowed sampling interval along the y-axis.""") From b03c8772be08f2fe35ff5071eb416a5237c823ab Mon Sep 17 00:00:00 2001 From: Carlos H Brandt Date: Sun, 1 Sep 2019 11:12:41 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-Authored-By: James A. Bednar --- holoviews/operation/datashader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/holoviews/operation/datashader.py b/holoviews/operation/datashader.py index 8d169f22ca..7ba4b5e5eb 100644 --- a/holoviews/operation/datashader.py +++ b/holoviews/operation/datashader.py @@ -75,14 +75,14 @@ class ResamplingOperation(LinkableOperation): if set to None.""") y_range = param.NumericTuple(default=None, length=2, doc=""" - The y_range as a tuple of min and max y-value. Auto-ranges + The y-axis range as a tuple of min and max y value. Auto-ranges if set to None.""") x_sampling = param.Number(default=None, doc=""" - Specifies the smallest allowed sampling interval along the x-axis.""") + Specifies the smallest allowed sampling interval along the x axis.""") y_sampling = param.Number(default=None, doc=""" - Specifies the smallest allowed sampling interval along the y-axis.""") + Specifies the smallest allowed sampling interval along the y axis.""") target = param.ClassSelector(class_=Image, doc=""" A target Image which defines the desired x_range, y_range,