Skip to content

Instantly share code, notes, and snippets.

@post2web
Last active October 30, 2017 20:52
Show Gist options
  • Save post2web/6cec4a07b6457b97dce92b216a844445 to your computer and use it in GitHub Desktop.
Save post2web/6cec4a07b6457b97dce92b216a844445 to your computer and use it in GitHub Desktop.
default figure and axis
fig = plt.gcf() # get current figure
ax = plt.gca() # get current axis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment