class_docstr: Test Fourier coefficients are properly validated/invalidated.
class_docstr_tok: ["Test","Fourier","coefficients","are","properly","validated\/invalidated","."]
docstr: Check that invalid type of parameters is caught
docstr_tok: ["Check","that","invalid","type","of","parameters","is","caught"]
code: def test_incorrect_type_fourier_coeffs(self):
      """Check that invalid type of parameters is caught"""
      with pytest.raises(
          TypeError, match="must be a list of numerical"
      ):
          _validate_coefficients("A", True)
  
file_path: pennylane/tests/fourier/test_visualize.py
imports: import pytest
  from pennylane import numpy
  from pennylane.fourier.visualize import _validate_coefficients
  from pennylane.fourier.visualize import violin, bar, box, panel, radial_box
label_desc: Use image node_id 2 for calling the TestValidateCoefficients obj's underlying member method code with example usage: obj.test_incorrect_type_fourier_coeffs() without return types