From a8e772e1ad847d1f5cbde7e3240f75c43ccb29a1 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Fri, 27 Jun 2014 12:15:16 +0100 Subject: [PATCH] Minor re-wordings. --- fsl/fslview/lightboxcanvas.py | 2 +- fsl/fslview/slicecanvas.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fsl/fslview/lightboxcanvas.py b/fsl/fslview/lightboxcanvas.py index be50da35f..27a6d171d 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 ca2a02274..895c88c1b 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) -- GitLab