absfuyu.extra.da.mplt module

Absfuyu: Data Analysis

Matplotlib Helper

Version: 5.1.0 Date updated: 10/03/2025 (dd/mm/yyyy)

class absfuyu.extra.da.mplt.MatplotlibFormatString[source]

Bases: BaseClass

Matplotlib format string

Available format: - <marker><line><color> - <color><marker><line>

MARKER_DATA: ClassVar[dict[str, str]] = {'*': 'star marker', '+': 'plus marker', ',': 'pixel marker', '.': 'point marker', '1': 'tri_down marker', '2': 'tri_up marker', '3': 'tri_left marker', '4': 'tri_right marker', '8': 'octagon marker', '<': 'triangle_left marker', '>': 'triangle_right marker', 'D': 'diamond marker', 'H': 'hexagon2 marker', 'P': 'plus (filled) marker', 'X': 'x (filled) marker', '^': 'triangle_up marker', '_': 'hline marker', 'd': 'thin_diamond marker', 'h': 'hexagon1 marker', 'o': 'circle marker', 'p': 'pentagon marker', 's': 'square marker', 'v': 'triangle_down marker', 'x': 'x marker', '|': 'vline marker'}
LINE_STYLE_DATA: ClassVar[dict[str, str]] = {'-': 'solid line style', '--': 'dashed line style', '-.': 'dash-dot line style', ':': 'dotted line style'}
COLOR_DATA: ClassVar[dict[str, str]] = {'b': 'blue', 'c': 'cyan', 'g': 'green', 'k': 'black', 'm': 'magenta', 'r': 'red', 'w': 'white', 'y': 'yellow'}
classmethod all_format_string() list[_PLTFormatString][source]
classmethod get_random() _PLTFormatString[source]

Get a random format string

Returns:

Random format string

Return type:

str