code: def test_plot_reduce10d():
      # should return 10d data since ndims=10
      geo = plot.plot(weights, ndims=10, show=False)
      assert all([i.shape[1] == 10 for i in geo.xform_data])
  
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 9 for calling a global function with example usage: test_plot_reduce10d() without return types