publiplots.list_hatch_patterns¶
- publiplots.list_hatch_patterns(mode=None)[source]¶
Print available hatch patterns for visual inspection.
Displays all available hatch patterns at the specified mode — useful for choosing appropriate patterns for your plots.
- Parameters:
mode (int, optional) – Pattern density mode (
1,2,3, or4). IfNone, uses the current global mode.
Examples
List current mode patterns:
>>> import publiplots as pp >>> pp.list_hatch_patterns(mode=1) Hatch Patterns (Mode 1): 0: '' (no hatch) 1: '/' 2: '\' 3: '.' 4: '|'
List a specific mode:
>>> pp.list_hatch_patterns(mode=4) Hatch Patterns (Mode 4): 0: '' (no hatch) 1: '////' ...
See also
get_hatch_patternsReturn the list of patterns (without printing).