latticeboltzmann.py:90: MatplotlibDeprecationWarning: You are modifying the state of a globally registered colormap. This has been deprecated since 3.3 and in 3.6, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = mpl.cm.get_cmap("bwr").copy()
cmap.set_bad('black')
Get the following warning
Using Python 3.10.5 with Matplotlib 3.5.2