Skip to content

Instantly share code, notes, and snippets.

@BexTuychiev
Created September 21, 2020 10:39
Show Gist options
  • Save BexTuychiev/704d9810d64b27e1a8963f4e42912c6c to your computer and use it in GitHub Desktop.
Save BexTuychiev/704d9810d64b27e1a8963f4e42912c6c to your computer and use it in GitHub Desktop.
# Unpacking method
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(10, 5))
fig.tight_layout(pad=3)
ax1.plot(climate_change['date'], climate_change['co2'])
ax2.plot(climate_change['date'], climate_change['relative_temp'])
plt.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment