Fixed the plot slicing bug (see issue #) by changing the slice_closest...
Compare changes
+ 6
− 22
@@ -428,31 +428,15 @@ def slice_closest(slice_coord, direction, values_coord, tol=1e-12):
Fixed the plot slicing bug (see issue #) by changing the slice_closest function. This function now checks what the closest mesh point is for coordinates in the slicing plane/line of all the problem mesh points, not just those within a minimal distance from the slicing plane/line.