enzoampil / fastquant

fastquant — Backtest and optimize your ML trading strategies with only 3 lines of code!
MIT License
1.48k stars 236 forks source link

Change matplotlib version to require strictly 3.2.2 #397

Closed mikeejazmines closed 2 years ago

mikeejazmines commented 2 years ago

Description

With the previous fastquant version, matplotlib would have an error of ImportError Cannot import name 'warnings' from 'matplotlib.dates when trying to plot.

This was fixed in the previous PR by changing matplotlib to 3.2.2. However, this was committed to be matplotlib==3.2.2 which may cause issues in pip installs.

This PR changes the matplotlib version to >= 3.2.2. If you get the error stated above, one fix would be to change the version to ==3.2.2.

Checklist