sainsc.lazykde.LazyKDE.plot_local_maxima ======================================== .. py:method:: sainsc.lazykde.LazyKDE.plot_local_maxima(*, crop = None, background_kwargs = dict(), scatter_kwargs = dict()) Plot the local kernel density estimate maxima. :param crop: Coordinates to crop the data defined as `((xmin, xmax), (ymin, ymax))`. :type crop: tuple[tuple[int, int], tuple[int, int]], optional :param background_kwargs: Keyword arguments that are passed to :py:meth:`sainsc.LazyKDE.plot_KDE`. :type background_kwargs: dict, optional :param scatter_kwargs: Keyword arguments that are passed to :py:func:`matplotlib.pyplot.scatter`. :type scatter_kwargs: dict, optional :rtype: matplotlib.figure.Figure .. seealso:: :py:meth:`sainsc.LazyKDE.find_local_maxima`