porespy.visualization.show_panels#

porespy.visualization.show_panels(im, rc=[3, 3], axis=0)#

Show slices of a 3D image as a 2D array of panels.

Parameters:
  • im (ndarray) – The 3D image to visualize

  • rc (list of ints) – The number of rows and columns to create

  • axis (int) – The axis along which to create the slices

Returns:

fig, ax

Return type:

Matplotlib figure and axis handles