text_plain_output_1.png image_output_1.png
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(10, 5))
test_slice = fossil_data[int(fossil_data.shape[0] / 2)]
ax1.imshow(test_slice, cmap='bone')
ax1.set_title('Axial Slices')
_ = ax2.imshow(test_slice > 70)
ax2.set_title('Thresheld Slice')