plots.plot_fmd#

seismostats.plots.plot_fmd(magnitudes: ndarray | Series, ax: Axes | None = None, delta_m: float = 0.1, color: str | None = None, size: int | None = None, grid: bool = False, bin_position: str = 'center', legend: bool | str | list = True) Axes#

Plots frequency magnitude distribution. If no binning is specified, the assumed value of delta_m is 0.1.

Parameters:
  • magnitudes – Array of magnitudes.

  • ax – The axis where figure should be plotted.

  • delta_m – Discretization of the magnitudes, important for the correct visualization of the data.

  • 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.

Returns:

ax – The ax object that was plotted on.