'Get the image as an RGB byte string
`draw` must be called at least once before this function will work and
to update the renderer for any subsequent changes to the Figure.
Returns
bytes'

def tostring_rgb(self):

    return self.renderer.tostring_rgb()
