def _getLimit(self, key, default=None): """ Return the limit associated with the key .. Note:: `MayaviClient` does not need the generality of multiple keys because it is always 3D :Parameters: key a key string that identifies the limit of interest :Returns: the value of the limit or `None` """ lim = AbstractViewer._getLimit(self, key, default=None) if lim is not None: return ["--%s" % key, str(lim)] else: return []
def _getLimit(self, key, default=None): """ Return the limit associated with the key .. Note:: `MayaviClient` does not need the generality of multiple keys because it is always 3D :Parameters: key a key string that identifies the limit of interest :Returns: the value of the limit or `None` """ lim = AbstractViewer._getLimit(self, key, default=None) if lim is not None: return ["--%s" % key, str(lim)] else: return []
def _getLimit(self, key, default=None): """ Return the limit associated with the key .. Note:: `MayaviClient` does not need the generality of multiple keys because it is always 3D Parameters ---------- key : str dictionary key that identifies the limit of interest Returns ------- float or None the value of the limit """ lim = AbstractViewer._getLimit(self, key, default=None) if lim is not None: return ["--%s" % key, str(lim)] else: return []
def _getLimit(self, keys, default='e'): return AbstractViewer._getLimit(self, keys=keys, default=default)
def _getLimit(self, keys, default='e'): return AbstractViewer._getLimit(self, keys=keys, default=default)
def _getLimit(self, key, default=''): return str(AbstractViewer._getLimit(self, key, default=default))
def _getLimit(self, key, default=''): return str(AbstractViewer._getLimit(self, key, default=default))