Merge pull request #895 from blink1073/fix-canny-py3k

Improve py3k compatibility for Viewer core widget and OverlayPlugin.
This commit is contained in:
Tony S Yu
2014-02-17 23:58:46 -06:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ class OverlayPlugin(Plugin):
self._overlay_plot = None
self._overlay = None
self.cmap = None
self.color_names = self.colors.keys()
self.color_names = list(self.colors.keys())
def attach(self, image_viewer):
super(OverlayPlugin, self).attach(image_viewer)