ROS rqt_plot 报错:matplotlib:ValueError: bottom cannot be >= top 解决办法
ROS下,运行rqt_plot,界面打开,拖动时闪退,报以下错误:
self.subplots_adjust(**kwargs)
File “/usr/lib/python2.7/dist-packages/matplotlib/figure.py”, line 1881, in subplots_adjust
self.subplotpars.update(*args, **kwargs)
File “/usr/lib/python2.7/dist-packages/matplotlib/figure.py”, line 241, in update
raise ValueError(‘bottom cannot be >= top’)
ValueError: bottom cannot be >= top
Aborted (core dumped)
解决办法:
sudo apt install python-pip
pip install -U matplotlib