def set_scale_to_fit(self, scale):
        self.widget.setScaledContents(scale)
Sets whether or not the image scales with the underlying
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_image_view.py/QtImageView.set_scale_to_fit