get_pattern#

scikitplot.cleanprompt.get_pattern(kind)[source]#

Return one pattern specification by kind.

Parameters:
kindstr

The category name.

Returns:
PatternSpec

The specification.

Raises:
PatternError

If no pattern of that kind exists. The message lists what does.

Parameters:

kind (str)

Return type:

PatternSpec