summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)