code: def test_plot_1d_animate():
      d = reducer(data, ndims=1)
      with pytest.raises(Exception) as e_info:
          plot.plot(d, animate=True, show=False)
  
imports: import pytest
  import numpy
  import matplotlib
  import matplotlib.pyplot
  from hypertools.plot import plot
  from hypertools.tools.reduce import reduce
  from hypertools.tools.load import load
  from hypertools.datageometry import DataGeometry
label_desc: Use image node_id 23 for calling a global function with example usage: test_plot_1d_animate() without return types