Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
3b9eea2195
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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 = []