code: def dotest_2d_data():
      """tests having multidimensional data for x"""
  
      fm = FadingMemoryFilter(
          x0=np.array([[0.0, 2.0], [0.0, 0.0]]), dt=1, order=1, beta=0.6
      )
  
      xs = [x for x in range(0, 50)]
  
      for x in xs:
          data = [x + randn() * 3, x + 2 + randn() * 3]
          fm.update(data)
          plt.scatter(fm.x[0, 0], fm.x[0, 1], c="r")
          plt.scatter(data[0], data[1], c="b")
  
file_path: filterpy/filterpy/memory/tests/test_fading_memory.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import matplotlib.pyplot
  from numpy.random import randn
  import numpy
  from filterpy.memory import FadingMemoryFilter
  from filterpy.gh import GHKFilter
label_desc: Use image node_id 1 for calling a global function with example usage: dotest_2d_data() without return types