From 71b307d04e3b7ff793ad54e54897f73fec6f11c7 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauld.mccarthy@gmail.com>
Date: Thu, 27 Aug 2015 17:22:33 +0100
Subject: [PATCH] props.Point properties no longer accept labels. These weren't
 being used anywhere, anyway.

---
 fsl/fsleyes/controls/locationpanel.py        | 4 ++--
 fsl/fsleyes/displaycontext/displaycontext.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fsl/fsleyes/controls/locationpanel.py b/fsl/fsleyes/controls/locationpanel.py
index 9937e3d3e..ee9a357dd 100644
--- a/fsl/fsleyes/controls/locationpanel.py
+++ b/fsl/fsleyes/controls/locationpanel.py
@@ -43,12 +43,12 @@ class LocationPanel(fslpanel.FSLEyesPanel):
     """
 
     
-    voxelLocation = props.Point(ndims=3, real=False, labels=('X', 'Y', 'Z'))
+    voxelLocation = props.Point(ndims=3, real=False)
     """If the currently selected overlay is a :class:`.Image`, this property
     tracks the current display location in voxel coordinates.
     """
     
-    worldLocation = props.Point(ndims=3, real=True,  labels=('X', 'Y', 'Z'))
+    worldLocation = props.Point(ndims=3, real=True)
 
         
     def __init__(self, parent, overlayList, displayCtx):
diff --git a/fsl/fsleyes/displaycontext/displaycontext.py b/fsl/fsleyes/displaycontext/displaycontext.py
index 33b01befa..b591eb54f 100644
--- a/fsl/fsleyes/displaycontext/displaycontext.py
+++ b/fsl/fsleyes/displaycontext/displaycontext.py
@@ -44,7 +44,7 @@ class DisplayContext(props.SyncableHasProperties):
     """
 
 
-    location = props.Point(ndims=3, labels=('X', 'Y', 'Z'))
+    location = props.Point(ndims=3)
     """The location property contains the currently selected
     3D location (xyz) in the current display coordinate system.
     """
-- 
GitLab