counter

stonerplots.counter(value: int, pattern: str = '({alpha})', **kwargs: str) str

Format an integer as a string using a pattern and various representations.

Args:

value (int): The integer to format. pattern (str): A format string with placeholders (default: ‘({alpha})’). **kwargs: Additional data to replace placeholders.

Returns:

str: The formatted string.

Notes:

alpha and Alpha formats will wraparound if the value is outside the range 0-25.