visualization.draw_partition

visualization.draw_partition(
    psi2tree,
    *,
    title=None,
    bitmap=False,
    discrete=False,
    cmap='coolwarm',
    separate=True,
    **kwgs,
)

Draw a partition plot of given data.

Parameters

Name Type Description Default
psi2tree psiclone.psi2tree.Psi2tree A computed Psi2tree object. required
title str A title of the plot, if needed. None
bitmap bool, optional (default: False) Treat the geometry to be a grid if True is set. Otherwise draw_geometry is called. False
discrete bool, optional (default: False) Use integer valued levels if True is set. This is useful when close levels are to be distinguished from eath other. False
separate bool, optional (default: False) Use separate integer valued levels if True is set. This is useful when some same levels in different components are to be distinguished from eath other. True
cmap str or Colormap, optional (default: "coolwarm") A color map passed to matplotlib. 'coolwarm'

Other Parameters

Name Type Description Default
**kwgs dict These are passed to the function draw_bitmap or draw_geometry. {}