diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-04-03 01:10:49 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-04-03 01:10:49 -0400 |
commit | d44a31bcbe4fa362611086fc8e3ddf8275f9e510 (patch) | |
tree | 9065921be9e60bf97eaf51333066fffce82a5c08 /snippets | |
parent | 7539be5864644cdffcae12acb3cb358ff09e8ae3 (diff) | |
download | emacs.d-d44a31bcbe4fa362611086fc8e3ddf8275f9e510.tar.gz |
Add plt.subplots snippets
Diffstat (limited to 'snippets')
-rw-r--r-- | snippets/python-mode/figax | 6 | ||||
-rw-r--r-- | snippets/python-mode/figaxs | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/snippets/python-mode/figax b/snippets/python-mode/figax new file mode 100644 index 0000000..2e149bc --- /dev/null +++ b/snippets/python-mode/figax @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: figax +# key: fax +# -- +fig, ax = plt.subplots() +$0 diff --git a/snippets/python-mode/figaxs b/snippets/python-mode/figaxs new file mode 100644 index 0000000..a9117ca --- /dev/null +++ b/snippets/python-mode/figaxs @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: figaxs +# key: faxs +# -- +fig, axs = plt.subplots($0) |