Browse Source

wx.iclass: missing giface argument (to be used by scatter plot)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57760 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek 11 years ago
parent
commit
3b9eea2195
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gui/wxpython/iclass/plots.py

+ 2 - 1
gui/wxpython/iclass/plots.py

@@ -28,10 +28,11 @@ class PlotPanel(scrolled.ScrolledPanel):
     for each band and for one category. Coincidence plots show min max range
     for each band and for one category. Coincidence plots show min max range
     of classes for each band.
     of classes for each band.
     """
     """
-    def __init__(self, parent, stats_data):
+    def __init__(self, parent, giface, stats_data):
         scrolled.ScrolledPanel.__init__(self, parent)
         scrolled.ScrolledPanel.__init__(self, parent)
         
         
         self.SetupScrolling(scroll_x = False, scroll_y = True)
         self.SetupScrolling(scroll_x = False, scroll_y = True)
+        self._giface = giface
         self.parent = parent
         self.parent = parent
         self.canvasList = []
         self.canvasList = []
         self.bandList = []
         self.bandList = []