diff --git a/fsl/fslview/lightboxcanvas.py b/fsl/fslview/lightboxcanvas.py index be50da35f77ae2893dde4df1ab7c41cd49dfb2c2..27a6d171d083482fa365ae4e03026dbae4a713f3 100644 --- a/fsl/fslview/lightboxcanvas.py +++ b/fsl/fslview/lightboxcanvas.py @@ -82,7 +82,7 @@ class LightBoxCanvas(slicecanvas.SliceCanvas): def canvasToWorld(self, xpos, ypos): """ - Overwrites SliceCanvas.canvasToWorld. Given pixel x/y + Overrides SliceCanvas.canvasToWorld. Given pixel x/y coordinates on this canvas, translates them into the real world x/y/z coordinates of the displayed slice. Returns a 3-tuple containing the (x, y, z) coordinates diff --git a/fsl/fslview/slicecanvas.py b/fsl/fslview/slicecanvas.py index ca2a02274d79ead4bc2de2d9e8151e8e7f432179..895c88c1b165abef696339e88e7c09c6c4cad8fb 100644 --- a/fsl/fslview/slicecanvas.py +++ b/fsl/fslview/slicecanvas.py @@ -399,7 +399,7 @@ class SliceCanvas(wxgl.GLCanvas, props.HasProperties): # not yet been set. But draw() may be called mored than once # before _initGLData is called. Here, to prevent # _initGLData from running more than once, the first time - # it is called it simply overwrites itself with a dummy method. + # it is called it simply overrides itself with a dummy method. self._initGLData = lambda s: s self.glContext.SetCurrent(self)