def set_preserve_aspect_ratio(self, preserve):
        self.widget.setPreserveAspectRatio(preserve)
Sets whether or not to preserve the aspect ratio of the
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_image_view.py/QtImageView.set_preserve_aspect_ratio