code: def lsq2_plot():
      fl = LSQ(2)
      fl.H = np.array([[1.0, 1.0], [0.0, 1.0]])
      fl.R = np.eye(2)
      fl.P = np.array([[2.0, 0.5], [0.5, 2.0]])
  
      for x in range(10):
          fl.update(np.array([[x], [x]], dtype=float))
          plt.scatter(x, fl.x[0, 0])
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from math import sqrt
  import matplotlib.pyplot
  import numpy
  from numpy import dot
  import numpy.random
  from scipy.linalg import inv
  from filterpy.gh import GHFilter
  from filterpy.leastsq import LeastSquaresFilter
label_desc: Use image node_id 7 for calling a global function with example usage: lsq2_plot() without return types