Update matplotlib version constraint
Matplotlib versions below 3.6.2 has compatibility issue with PySide6 versions above 6.4.0. Because we need PySide6 to be at least version 6.5.2, we update matplotlib's minimum version. More details can be found at https://github.com/matplotlib/matplotlib/issues/24155.