From e5dfb8c7acf3c5dcba2cbe4da29fba74513a4731 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Thu, 13 Dec 2012 20:56:27 -0500 Subject: [PATCH] STY: Remove linewidth parameter to simplify API --- skimage/viewer/plugins/lineprofile.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/skimage/viewer/plugins/lineprofile.py b/skimage/viewer/plugins/lineprofile.py index 665481a0..9e5b90f1 100644 --- a/skimage/viewer/plugins/lineprofile.py +++ b/skimage/viewer/plugins/lineprofile.py @@ -18,8 +18,6 @@ class LineProfile(PlotPlugin): Parameters ---------- - linewidth : float - Line width for interpolation. Wider lines average over more pixels. maxdist : float Maximum pixel distance allowed when selecting end point of scan line. epsilon : float @@ -34,7 +32,7 @@ class LineProfile(PlotPlugin): """ name = 'Line Profile' - def __init__(self, linewidth=1, maxdist=10, epsilon='deprecated', + def __init__(self, maxdist=10, epsilon='deprecated', limits='image', **kwargs): super(LineProfile, self).__init__(**kwargs)