For some outputs, drawing streamlines may end up with an error in Matplotlib
ValueError("'x' values must be equally spaced")
File "C:\Users\hyzho\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\__init__.py", line 1461,
where the actual check in Matplotlib says
if not np.allclose(np.diff(x), self.width / (self.nx - 1)):
raise ValueError("'x' values must be equally spaced")
This is clearly a mismatch between Julia and Numpy, probably for Float32 numbers. Not a big deal, but the error messages are annoying. A quick workaround would be to set the plotinterval value together with plotrange.
For some outputs, drawing streamlines may end up with an error in Matplotlib
where the actual check in Matplotlib says
A similar check in Julia would be
This is clearly a mismatch between Julia and Numpy, probably for Float32 numbers. Not a big deal, but the error messages are annoying. A quick workaround would be to set the
plotinterval
value together withplotrange
.