summaryrefslogtreecommitdiff
path: root/snippets/python-mode/plt
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-06-29 01:35:43 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-06-30 20:42:10 -0400
commit54577f4f7ccd88348a31fe0c8893bf203bcf4926 (patch)
treec79d3a14332611459d3517c2ff8792cff330d4cd /snippets/python-mode/plt
parent2ef6bc3923917df9b1708bba164c2ce535ed00e8 (diff)
downloademacs.d-54577f4f7ccd88348a31fe0c8893bf203bcf4926.tar.gz
move python shebang/common imports to yasnippet
Diffstat (limited to 'snippets/python-mode/plt')
-rw-r--r--snippets/python-mode/plt8
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/python-mode/plt b/snippets/python-mode/plt
new file mode 100644
index 0000000..434e09c
--- /dev/null
+++ b/snippets/python-mode/plt
@@ -0,0 +1,8 @@
+# name: matplotlib-related import
+# key: plt
+# --
+import matplotlib.pyplt as plt
+from matplotlib import tickers
+
+import pltaid
+$0