summaryrefslogtreecommitdiff
path: root/snippets/python-mode/subplots-adjust
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-06-26 01:59:21 -0400
committerKyle Meyer <kyle@kyleam.com>2016-06-26 01:59:21 -0400
commit2c149f17ab3f6a0441e4f185b2bf96611dab4984 (patch)
tree1f7745320821dcb6fdd3f856ade92755bb333076 /snippets/python-mode/subplots-adjust
parentdc3a960e9bba5722a5d5dd3fa4bdf26846cc89b9 (diff)
downloademacs.d-2c149f17ab3f6a0441e4f185b2bf96611dab4984.tar.gz
Add more matplotlib layout snippets
Diffstat (limited to 'snippets/python-mode/subplots-adjust')
-rw-r--r--snippets/python-mode/subplots-adjust7
1 files changed, 7 insertions, 0 deletions
diff --git a/snippets/python-mode/subplots-adjust b/snippets/python-mode/subplots-adjust
new file mode 100644
index 0000000..f88417c
--- /dev/null
+++ b/snippets/python-mode/subplots-adjust
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: subplots-adjust
+# key: sad
+# group: matplotlib
+# --
+fig.subplots_adjust($0left=0.125, right=0.9, bottom=0.1, top=0.9,
+ wspace=0.2, hspace=0.2)