Пример #1
0
    def __init__(self, fname_in, fname_out):
        """Create the Plot object.

        Args:
            fname_in: model input text file
            fname_out: model output (results) text file
        """
        # parent handles the initialization
        Facade.__init__(self, fname_in, fname_out)
        self.__button = None    # matplotlib Button to open output file
Пример #2
0
 def __init__(self, text="label"):
     Facade.__init__(self)
     self.text = text
     self.textSurface = None