visualization.draw_barcode

visualization.draw_barcode(psi2tree, *, modes=None, threshold=0.0, **kwgs)

Draw a barcode chart from computed persistence data.

Parameters

Name Type Description Default
psi2tree psiclone.psi2tree.Psi2tree A computed Psi2tree object. required
modes list Specify types of which barcodes are drawn. - ‘sub’: a sublevelset filtration - ‘sup’: a superlevelset filtration - ‘reeb’: a Reeb graph (default: all of above) None
threshold Cut-off threshold for barcode length. 0.0

Other Parameters

Name Type Description Default
**kwgs dict These are passed to the function matplotlib.pyplot.bar {}