From 85cbed23f01a652765b4d984a2d1be154eade82a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=BCrgin?= Date: Sat, 14 Apr 2018 23:37:44 +0200 Subject: [PATCH] Add :arglists metadata in defplot --- src/huri/plot.clj | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/huri/plot.clj b/src/huri/plot.clj index 8f84193..bd6b17e 100644 --- a/src/huri/plot.clj +++ b/src/huri/plot.clj @@ -321,6 +321,11 @@ (last params)) body (last args)] `(defn ~name + {:arglists '([~'df] + ~@(if y + `[[~'options ~'df] [~@positional-params ~'df]] + `[[~'arg ~'df]]) + [~@positional-params ~'options ~'df])} ([df#] (~name ~@(if y [:x__auto :y__auto]