code: def test_embedding(get_mats):
      """Test ."""
      n_matrices, n_channels = 5, 3
      mats = get_mats(n_matrices, n_channels, "spd")
      plot_embedding(mats, y=None, metric="euclid")
      y = np.ones(mats.shape[0])
      plot_embedding(mats, y=y, metric="euclid")
  
file_path: pyRiemann/tests/test_utils_viz.py
imports: from conftest import requires_matplotlib
  import numpy
  import pytest
  from pyriemann.utils.viz import plot_embedding, plot_cospectra, plot_waveforms
label_desc: Use image node_id 1 for calling a global function with example usage: test_embedding(get_mats) without return types