Implementation of slice_viz
Implementation of the function slice_viz under qim3d.utils.img.py.
inputs: (input (path or array), position (optional - can be an int, str, list or ndarray) , cmap_im (optional) , axis (optional)).
Checks if the dimension of the given array is a volume.
Takes the positions given and returns one plot or subplots with the slices.