csep.utils.plots.plot_magnitude_versus_time

csep.utils.plots.plot_magnitude_versus_time(catalog, filename=None, show=False, reset_times=False, plot_args=None, **kwargs)[source]

Plots magnitude versus linear time for an earthquake data.

Catalog class must implement get_magnitudes() and get_datetimes() in order for this function to work correctly.

Parameters:

catalog (AbstractBaseCatalog) – data to visualize

Returns:

fig and axes handle

Return type:

(tuple)