ThevalidateAPI
validate API Reference¶
-
probscale.validate.axes_object(ax)[source]¶ Checks if a value if an Axes. If None, a new one is created. Both the figure and axes are returned (in that order).
-
probscale.validate.axis_name(axis, axname)[source]¶ Checks that an axis name is in
{'x', 'y'}. Raises an error on an invalid value. Returns the lower case verion of valid values.
-
probscale.validate.fit_argument(arg, argname)[source]¶ Checks that an axis options is in
{'x', y', 'both', None}. Raises an error on an invalid value. Returns the lower case verion of valid values.
-
probscale.validate.axis_type(axtype)[source]¶ Checks that a valid axis type is requested.
- pp - percentile axis
- qq - quantile axis
- prob - probability axis
Raises an error on an invalid value. Returns the lower case verion of valid values.