text_plain_output_1.png image_output_1.png
skip_slices = 30
fig, (ax1, ax2, ax3) = plt.subplots(1, 3, figsize=(14, 5))
ax1.imshow(montage2d(fossil_data[skip_slices:-skip_slices]), cmap='bone')
ax1.set_title('Axial Slices')
ax2.imshow(montage2d(fossil_data.transpose(1, 2, 0)[skip_slices:-skip_slices]), cmap='bone')
ax2.set_title('Saggital Slices')
ax3.imshow(montage2d(fossil_data.transpose(2, 0, 1)[skip_slices:-skip_slices]), cmap='bone')
ax3.set_title('Coronal Slices')