cmower / optas

OpTaS: An optimization-based task specification library for trajectory optimization and model predictive control.
https://cmower.github.io/optas/
Other
105 stars 14 forks source link

Animations not playing #82

Closed cmower closed 1 year ago

cmower commented 1 year ago

The animations in the example/point_mass_* scripts are not playing.

joaomoura24 commented 1 year ago

So, that happen to me not playing 2 days ago in one computer and then in the computer next to it, the same code it was playing well. I couldn't understand why that was the case. I pulled the exact same code in both, so my wildest guess is to do with some versioning of the matplotlib that is not right.

cmower commented 1 year ago

The solution is to make sure your version of matplotlib is the most updated version. Running pip install matplotlib --upgrade should solve the issue.

I think what happened for me is that at some point I installed something that required an earlier version of matplotlib and probably I accepted to downgrade.

Closing for now. Please reopen if this doesn't fix the issue.