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