Fix: Move on_draw method to base Plugin

This commit is contained in:
Tony S Yu
2012-07-20 18:19:37 -05:00
parent afd33afc5e
commit 47d5f028e5
2 changed files with 14 additions and 11 deletions
+1
View File
@@ -30,6 +30,7 @@ class LineProfile(PlotPlugin):
'image' : fixed scale based on min/max intensity in image.
'dtype' : fixed scale based on min/max intensity of image dtype.
"""
draws_on_image = True
def __init__(self, image_viewer, useblit=None,
linewidth=1, epsilon=5, limits='image'):