Using scipy.ndimage.filters.gaussian_filter and scipy.stats.gaussian_kde functions for a given dataset can give very similar results if the sigma and bw_method in each function are appropriately selected.
For example, I can get the following graphs for a random two-dimensional distribution of points by setting sigma=2. in gaussian_filter (left graph) and bw_method=sigma/30. in gaussian_kde (right graph):

(MWE is at the bottom of the question)
Obviously, there is a connection between these parameters, since a Gaussian filter is used, and the other is a Gaussian estimator of the core density from the data.
Definition of each parameter:
sigma: scalar or sequence of scalars. Standard deviation for the Gaussian core. The standard deviations of the Gaussian filter are given for each axis as a sequence or as a singular, in which case it is equal for all axes.
I can understand this, given the definition of a Gaussian operator:

bw_method: str, scalar or callable, optional. The method used to calculate the width of the evaluation band. It can be "Scott", silver, scalar constant or called. If scalar, it will be used directly as kde.factor. If called, it should take an instance of gaussian_kde as soon as the parameter and returns a scalar. If "No" (default), "scott used. See Notes for more details.
In this case, suppose the input for bw_method is a float to be comparable to sigma . Here, where I get lost, since I can not find any information about this kde.factor parameter.
What I would like to know is an exact mathematical equation that relates both of these parameters (i.e. sigma and bw_method when using a float), if possible.
MWE:
import numpy as np from scipy.stats import gaussian_kde from scipy.ndimage.filters import gaussian_filter import matplotlib.pyplot as plt def rand_data(): return np.random.uniform(low=1., high=200., size=(1000,))