From 96f0335af4e8423c987ef1e1df34fabf71ec0b43 Mon Sep 17 00:00:00 2001 From: Michael Krabbe Borregaard Date: Thu, 9 Aug 2018 12:46:09 +0100 Subject: [PATCH] No longer include files for Revise This is no longer necessary in 0.7 --- src/backends/glvisualize.jl | 4 ---- src/backends/gr.jl | 4 ---- src/backends/hdf5.jl | 4 ---- src/backends/inspectdr.jl | 4 ---- src/backends/pgfplots.jl | 4 ---- src/backends/plotly.jl | 4 ---- src/backends/plotlyjs.jl | 3 --- src/backends/pyplot.jl | 4 ---- src/backends/unicodeplots.jl | 4 ---- src/backends/web.jl | 3 --- 10 files changed, 38 deletions(-) diff --git a/src/backends/glvisualize.jl b/src/backends/glvisualize.jl index f7fdc4aa..42889747 100644 --- a/src/backends/glvisualize.jl +++ b/src/backends/glvisualize.jl @@ -9,10 +9,6 @@ TODO * fix units in all visuals (e.g dotted lines, marker scale, surfaces) =# -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "glvisualize.jl")) -end - const _glvisualize_attr = merge_with_base_supported([ :annotations, :background_color_legend, :background_color_inside, :background_color_outside, diff --git a/src/backends/gr.jl b/src/backends/gr.jl index c2ac75f9..0c2253fe 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -3,10 +3,6 @@ # significant contributions by @jheinen -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "gr.jl")) -end - const _gr_attr = merge_with_base_supported([ :annotations, :background_color_legend, :background_color_inside, :background_color_outside, diff --git a/src/backends/hdf5.jl b/src/backends/hdf5.jl index 2f582259..ffc5ec53 100644 --- a/src/backends/hdf5.jl +++ b/src/backends/hdf5.jl @@ -28,10 +28,6 @@ Read from .hdf5 file using: - Should be reliable for archival purposes. ==# -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "hdf5.jl")) -end - import FixedPointNumbers: N0f8 #In core Julia #Dispatch types: diff --git a/src/backends/inspectdr.jl b/src/backends/inspectdr.jl index 980160e8..2a82f192 100644 --- a/src/backends/inspectdr.jl +++ b/src/backends/inspectdr.jl @@ -13,10 +13,6 @@ Add in functionality to Plots.jl: :aspect_ratio, =# -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "inspectdr.jl")) -end - # --------------------------------------------------------------------------- #TODO: remove features const _inspectdr_attr = merge_with_base_supported([ diff --git a/src/backends/pgfplots.jl b/src/backends/pgfplots.jl index 895afd7c..cb0a8d2a 100644 --- a/src/backends/pgfplots.jl +++ b/src/backends/pgfplots.jl @@ -2,10 +2,6 @@ # significant contributions by: @pkofod -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "pgfplots.jl")) -end - const _pgfplots_attr = merge_with_base_supported([ :annotations, :background_color_legend, diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index 7b356140..a3bcec14 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -1,10 +1,6 @@ # https://plot.ly/javascript/getting-started -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "plotly.jl")) -end - const _plotly_attr = merge_with_base_supported([ :annotations, :background_color_legend, :background_color_inside, :background_color_outside, diff --git a/src/backends/plotlyjs.jl b/src/backends/plotlyjs.jl index e327b219..1482b717 100644 --- a/src/backends/plotlyjs.jl +++ b/src/backends/plotlyjs.jl @@ -1,6 +1,3 @@ -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "plotlyjs.jl")) -end # https://github.com/spencerlyon2/PlotlyJS.jl diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index fa275cdd..0fe05c96 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -1,10 +1,6 @@ # https://github.com/stevengj/PyPlot.jl -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "pyplot.jl")) -end - const _pyplot_attr = merge_with_base_supported([ :annotations, :background_color_legend, :background_color_inside, :background_color_outside, diff --git a/src/backends/unicodeplots.jl b/src/backends/unicodeplots.jl index 1abb0ab7..c0639830 100644 --- a/src/backends/unicodeplots.jl +++ b/src/backends/unicodeplots.jl @@ -1,10 +1,6 @@ # https://github.com/Evizero/UnicodePlots.jl -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "unicodeplots.jl")) -end - const _unicodeplots_attr = merge_with_base_supported([ :label, :legend, diff --git a/src/backends/web.jl b/src/backends/web.jl index 75a3a8ed..55984167 100644 --- a/src/backends/web.jl +++ b/src/backends/web.jl @@ -2,9 +2,6 @@ # NOTE: backend should implement `html_body` and `html_head` # CREDIT: parts of this implementation were inspired by @joshday's PlotlyLocal.jl -@require Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" begin - Revise.track(Plots, joinpath(Pkg.dir("Plots"), "src", "backends", "web.jl")) -end function standalone_html(plt::AbstractPlot; title::AbstractString = get(plt.attr, :window_title, "Plots.jl")) """