From d44a31bcbe4fa362611086fc8e3ddf8275f9e510 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 3 Apr 2015 01:10:49 -0400 Subject: Add plt.subplots snippets --- snippets/python-mode/figax | 6 ++++++ snippets/python-mode/figaxs | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 snippets/python-mode/figax create mode 100644 snippets/python-mode/figaxs 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) -- cgit v1.2.3