/home/MagizhanC/Desktop/Thermal/Main.py:27: UserWarning: frames=None which we can infer the length of, did not pass an explicit *save_count* and passed cache_frame_data=True.  To avoid a possibly unbounded cache, frame data caching has been disabled. To suppress this warning either pass `cache_frame_data=False` or `save_count=MAX_FRAMES`.
  ani = animation.FuncAnimation(fig, update, interval=200, blit=False)
Traceback (most recent call last):
  File "/home/MagizhanC/Desktop/Thermal/.venv/lib/python3.11/site-packages/matplotlib/cbook.py", line 361, in process
    func(*args, **kwargs)
  File "/home/MagizhanC/Desktop/Thermal/.venv/lib/python3.11/site-packages/matplotlib/animation.py", line 928, in _start
    self._init_draw()
  File "/home/MagizhanC/Desktop/Thermal/.venv/lib/python3.11/site-packages/matplotlib/animation.py", line 1770, in _init_draw
    self._draw_frame(frame_data)
  File "/home/MagizhanC/Desktop/Thermal/.venv/lib/python3.11/site-packages/matplotlib/animation.py", line 1789, in _draw_frame
    self._drawn_artists = self._func(framedata, *self._args)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/MagizhanC/Desktop/Thermal/Main.py", line 24, in update
    temp_data = read_thermal_data()
                ^^^^^^^^^^^^^^^^^^^
  File "/home/MagizhanC/Desktop/Thermal/Main.py", line 11, in read_thermal_data
    raw_data = bus.read_i2c_block_data(AMG88XX_I2C_ADDR, PIXEL_BASE,PIXEL_COUNT * 2)