Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created November 22, 2023 23:28
Show Gist options
  • Save stephengruppetta/380d83b29972ff28d7acdbadd640d4dc to your computer and use it in GitHub Desktop.
Save stephengruppetta/380d83b29972ff28d7acdbadd640d4dc to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
mosaic = """
+A+
B+C
+D+
"""
fig, axs = plt.subplot_mosaic(
mosaic=mosaic,
empty_sentinel="+"
)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment