Catalog.plot_fmd#

Catalog.plot_fmd(fmd_bin: float, weights: ndarray | None = None, ax: Axes | None = None, color: str | None = None, size: int = None, grid: bool = False, bin_position: str = 'center', label: bool | str = True) Axes#

Plots frequency magnitude distribution.

Parameters:
  • magnitudes – Array of magnitudes.

  • fmd_bin – Bin size of magnitudes for plotting purposes.

  • ax – The axis where figure should be plotted.

  • color – Color of the data.

  • size – Size of data points.

  • grid – Indicates whether or not to include grid lines.

  • bin_position – Position of the bin, options are “center” and “left” accordingly, left edges of bins or center points are returned.

  • label – Label of the data points. If True, it will be set to “non cumulative”. If a string is provided, it will be used as the label for the data points. If False, no label is shown.

Returns:

ax – The ax object that was plotted on.