AureumChaos / LEAP

A general purpose Library for Evolutionary Algorithms in Python.
Academic Free License v3.0
83 stars 19 forks source link

Matplotlib 3.4 breaks visualization probes #129

Open SigmaX opened 3 years ago

SigmaX commented 3 years ago

We're using matplotlib's "crude" animation feature by means of plt.pause(). The behavior of pause() changed in some way between matplotlib 3.3 and 3.4, such that the plot windows don't pop up when running algorithms with 3.4.

I've observed this on Linux---not sure if it varies by backend.

I note that the source code of pause() itself has not changed, and there's no mention of a change in the 3.4 release notes. I wonder if this is a bug in Matplotlib.

SigmaX commented 3 years ago

Quick fix: set our max version to 3.3 for now. Open an issue with matplotlib in case it's a bug on their end.