Created
November 12, 2017 13:05
-
-
Save erikaris/36bb1066e0ba235820221f9035ecca06 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# modified from Coursera | |
# figure 2: Creates two subplots and unpacks the output array immediately | |
f, ax = plt.subplots(2, 2, sharey=True) | |
ax[0,0].plot(x, y) | |
ax[0,0].set_title('Sharing Y axis') | |
ax[1,1].scatter(x, y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment