瀏覽代碼

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 年之前
父節點
當前提交
3b9eea2195
共有 1 個文件被更改,包括 2 次插入1 次删除
  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
     of classes for each band.
     """
-    def __init__(self, parent, stats_data):
+    def __init__(self, parent, giface, stats_data):
         scrolled.ScrolledPanel.__init__(self, parent)
         
         self.SetupScrolling(scroll_x = False, scroll_y = True)
+        self._giface = giface
         self.parent = parent
         self.canvasList = []
         self.bandList = []