Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created November 22, 2023 23:13
Show Gist options
  • Save stephengruppetta/16e314a23da032caded6a8d56d5c35cd to your computer and use it in GitHub Desktop.
Save stephengruppetta/16e314a23da032caded6a8d56d5c35cd to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
fig = plt.figure()
ax_1 = fig.add_subplot(2, 3, (1,2))
ax_2 = fig.add_subplot(2, 3, (3, 6))
ax_3 = fig.add_subplot(2, 3, 4)
ax_4 = fig.add_subplot(2, 3, 5)
ax_1.set_title("one")
ax_2.set_title("two")
ax_3.set_title("three")
ax_4.set_title("four")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment