You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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", line1461,
where the actual check in Matplotlib says
ifnotnp.allclose(np.diff(x), self.width/ (self.nx-1)):
raiseValueError("'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.
The text was updated successfully, but these errors were encountered:
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
.The text was updated successfully, but these errors were encountered: