@verbose
    def plot_locations(self, trans, subject, subjects_dir=None,
                       bgcolor=(1, 1, 1), opacity=0.3,
                       brain_color=(1, 1, 0), fig_name=None,
                       fig_size=(600, 600), mode='cone',
                       scale_factor=0.1e-1, colors=None, verbose=None):
        from .viz import plot_dipole_locations
        dipoles = []
        for t in self.times:
            dipoles.append(self.copy())
            dipoles[-1].crop(t, t)
        return plot_dipole_locations(
            dipoles, trans, subject, subjects_dir, bgcolor, opacity,
            brain_color, fig_name, fig_size, mode, scale_factor,
            colors)
If a defined name is used on either side of a containment test, no warning is emitted.
dataset/ETHPy150Open mne-tools/mne-python/mne/dipole.py/Dipole.plot_locations--crossover with--dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_containment