Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, axis, **kwargs):
self.dist = kwargs.pop('dist', _minimal_norm)
self.as_pct = kwargs.pop('as_pct', True)
self.nonpos = kwargs.pop('nonpos', 'mask')
self._transform = ProbTransform(self.dist, as_pct=self.as_pct)
def inverted(self):
return ProbTransform(self.dist, as_pct=self.as_pct,
out_of_bounds=self.out_of_bounds)