Skip to content

Commit

Permalink
Merge pull request #96 from lvh/patch-1
Browse files Browse the repository at this point in the history
Pass positional keyword arguments correctly
  • Loading branch information
aysylu authored Feb 24, 2017
2 parents 1c1ecb4 + 2f205a0 commit 11f8e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loom/io.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 11f8e79

Please sign in to comment.