summaryrefslogtreecommitdiff
path: root/snippets
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-04-03 01:10:49 -0400
committerKyle Meyer <kyle@kyleam.com>2015-04-03 01:10:49 -0400
commitd44a31bcbe4fa362611086fc8e3ddf8275f9e510 (patch)
tree9065921be9e60bf97eaf51333066fffce82a5c08 /snippets
parent7539be5864644cdffcae12acb3cb358ff09e8ae3 (diff)
downloademacs.d-d44a31bcbe4fa362611086fc8e3ddf8275f9e510.tar.gz
Add plt.subplots snippets
Diffstat (limited to 'snippets')
-rw-r--r--snippets/python-mode/figax6
-rw-r--r--snippets/python-mode/figaxs5
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)