code: def test_embedding_error_raise(get_mats):
      """Test ValueError for unknown embedding type."""
      n_matrices, n_channels = 5, 3
      mats = get_mats(n_matrices, n_channels, "spd")
      with pytest.raises(ValueError):
          plot_embedding(mats, y=None, metric="euclid", embd_type="foo")
  
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 2 for calling a global function with example usage: test_embedding_error_raise(get_mats) without return types