Skip to content

Instantly share code, notes, and snippets.

@tldrafael
Created October 20, 2019 18:34
Show Gist options
  • Save tldrafael/edef903680fe73597f8b3dfa122f5c44 to your computer and use it in GitHub Desktop.
Save tldrafael/edef903680fe73597f8b3dfa122f5c44 to your computer and use it in GitHub Desktop.
Plotting subplots snippet
import matplotlib.pyplot as plt
fig, axs = plt.subplots(4, figsize=(12, 12))
for i in range(4):
axs[i].imshow(sample_masks[:, :, i])
axs[i].axis('off')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment