From 2f205a01a023d2c13a1a8bbcf2fe0cb1e613197d Mon Sep 17 00:00:00 2001 From: lvh <_@lvh.io> Date: Sun, 19 Feb 2017 15:18:08 -0600 Subject: [PATCH] Pass positional keyword arguments correctly Closes #95. --- src/loom/io.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loom/io.clj b/src/loom/io.clj index 2f86c3a..c64093e 100644 --- a/src/loom/io.clj +++ b/src/loom/io.clj @@ -156,4 +156,4 @@ the shell's path. Possible algorithms include :dot, :neato, :fdp, :sfdp, :twopi, and :circo. Possible formats include :png, :ps, :pdf, and :svg." [g & {:keys [fmt] :or {fmt :png} :as opts}] - (open-data (apply render-to-bytes g opts) fmt)) + (open-data (apply render-to-bytes g (apply concat opts)) fmt))