code: def enable(self, **kwdargs):
          
          for feat, value in kwdargs:
              feat = feat.lower()
              if feat not in self.features:
                  raise ValueError("'%s' is not a feature. Must be one of %s" % (
                      feat, str(self.features)))
  
              attr = self.features[feat]
              setattr(self, attr, bool(value))
docs: General enable function encompassing all user interface features.
          Usage (e.g.):
              viewer.enable(rotate=False, flip=True)