From 554d7ab88774583ce50cca677e6ee0fb94ce3541 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 05f3f6d0..35765a66 100644 --- a/src/Plots.jl +++ b/src/Plots.jl @@ -30,9 +30,6 @@ export with, twinx, - @userplot, - @shorthands, - pie, pie!, plot3d, @@ -156,16 +153,6 @@ include("backends.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