# plot_betti_curves¶

gtda.plotting.plot_betti_curves(betti_numbers, samplings, homology_dimensions=None)[source]

Plot Betti curves by homology dimension.

Parameters
• betti_numbers (ndarray of shape (n_homology_dimensions, n_bins)) – Betti numbers, i.e. the y-coordinates of Betti curves. Entry i along axis 0 is assumed to contain the Betti numbers for a discretised Betti curve in homology dimension i.

• samplings (ndarray of shape (n_homology_dimensions, n_bins)) – Filtration parameter values to be used as the x-coordinates of the Betti curves.

• homology_dimensions (list, tuple or None, optional, default: None) – Which homology dimensions to include in the plot. If None, all available homology dimensions will be used.