(self)
create the image from the draw() string
create the image from the draw() string
create the image from the draw () string
def create_image(self):
        """"
        create the image from the draw() string
        """
        self.im = Image.new("RGB", (w/2, h/2))
        # you can experiment with these x and y ranges
        self.draw(-2.13, 0.77, -1.3, 1.3, 1000)
        self.im.fromstring(self.mandel, "raw", "RGBX", 0, -1)
def create_image ( self ) : self . im = Image . new ( "RGB" , ( w / 2 , h / 2 ) ) # you can experiment with these x and y ranges self . draw ( - 2.13 , 0.77 , - 1.3 , 1.3 , 1000 ) self . im . fromstring ( self . mandel , "raw" , "RGBX" , 0 , - 1 )