publiplots.list_hatch_patterns

publiplots.list_hatch_patterns(mode=None)[source]

Print available hatch patterns for visual inspection.

Displays all available hatch patterns for the specified mode, which can help in choosing appropriate patterns for your plots.

Parameters:

mode (int, optional) – Pattern density mode (1, 2, or 3). If None, uses current global mode.

Examples

List current mode patterns:

>>> import publiplots as pp
>>> pp.list_hatch_patterns()
Hatch Patterns (Mode 1):
  0: '' (no hatch)
  1: '/'
  2: '\'
  3: '.'
  4: '|'

List specific mode:

>>> pp.list_hatch_patterns(mode=4)
Hatch Patterns (Mode 4):
  0: '' (no hatch)
  1: '////'
  2: '....'