zipline icon indicating copy to clipboard operation
zipline copied to clipboard

Potential performance issue: plotting slow in matplotlib == 3.3.0

Open HarryCollins2 opened this issue 11 months ago • 1 comments

Dear Zipline Maintainers,

I hope this comment finds you well.

I have discovered a performance degradation in the plot function of matplotlib version 3.3.0. And I notice it lies in etc/requirements_py36_locked.txt. I am not sure whether this performance problem in matplotlib will affect this repository as I don't know whether the dependency in the file are used in production or not. I found some discussions on matplotlib GitHub related to this issue, including https://github.com/matplotlib/matplotlib/issues/18743.

If the performance issue really affects your repo, I would recommend considering an version change to matplotlib >= 3.3.3 or <3.3.0(e.g. 3.2.2) or exploring other solutions to optimize the performance of plotting.

Thank you!

HarryCollins2 avatar Mar 08 '24 12:03 HarryCollins2

Hey! I think you should look into using https://github.com/stefan-jansen/zipline-reloaded instead

lhjnilsson avatar Mar 24 '24 21:03 lhjnilsson