From 1be21d1e474a88023c734ee1e1b87717a32592c5 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas Date: Mon, 1 May 2017 16:56:29 -0700 Subject: [PATCH] remove `@shorthands` --- src/Plots.jl | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Plots.jl b/src/Plots.jl index 3bf1d156..f55be664 100644 --- a/src/Plots.jl +++ b/src/Plots.jl @@ -30,9 +30,6 @@ export with, twinx, - @userplot, - @shorthands, - pie, pie!, plot3d, @@ -135,16 +132,6 @@ include("plotattr.jl") # --------------------------------------------------------- -# define and export shorthand plotting method definitions -macro shorthands(funcname::Symbol) - funcname2 = Symbol(funcname, "!") - esc(quote - export $funcname, $funcname2 - $funcname(args...; kw...) = plot(args...; kw..., seriestype = $(quot(funcname))) - $funcname2(args...; kw...) = plot!(args...; kw..., seriestype = $(quot(funcname))) - end) -end - @shorthands scatter @shorthands bar @shorthands barh