-
-
Save stephengruppetta/affe31bb8b2e8e8bd1ca6d54748a7fa6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
# Create a figure with 2x2 grid | |
fig, axs = plt.subplot_mosaic( | |
[ | |
["top_left", "top_right"], | |
["bottom_left", "bottom_right"] | |
] | |
) | |
axs["top_left"].set_title("top_left") | |
axs["top_right"].set_title("top_right") | |
axs["bottom_left"].set_title("bottom_left") | |
axs["bottom_right"].set_title("bottom_right") | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment