Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created November 22, 2023 23:14
Show Gist options
  • Save stephengruppetta/38d37ce66e9f38918eed533c56e0fd32 to your computer and use it in GitHub Desktop.
Save stephengruppetta/38d37ce66e9f38918eed533c56e0fd32 to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
fig, axs = plt.subplot_mosaic(
[
["one", "one", "two"],
["three", "four", "two"]
]
)
axs["one"].set_title("one")
axs["two"].set_title("two")
axs["three"].set_title("three")
axs["four"].set_title("four")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment