diff --git a/src/Plots.jl b/src/Plots.jl index d2f2fe391a..9a525428b5 100644 --- a/src/Plots.jl +++ b/src/Plots.jl @@ -29,12 +29,15 @@ function _check_compat(sim::Module) end using Dates, Printf, Statistics, Base64, LinearAlgebra, Random, Unzip +using RelocatableFolders using SnoopPrecompile using SparseArrays using Base.Meta using Requires using Reexport +using Scratch using FFMPEG +using REPL @reexport using RecipesBase @reexport using PlotThemes @reexport using PlotUtils diff --git a/src/init.jl b/src/init.jl index 719b6dd952..a4aba6772e 100644 --- a/src/init.jl +++ b/src/init.jl @@ -1,7 +1,3 @@ -using REPL -using Scratch -using RelocatableFolders - const plotly_local_file_path = Ref{Union{Nothing,String}}(nothing) const BACKEND_PATH_GASTON = @path joinpath(@__DIR__, "backends", "gaston.jl") const BACKEND_PATH_HDF5 = @path joinpath(@__DIR__, "backends", "hdf5.jl") @@ -159,7 +155,7 @@ function __init__() # Lists of tuples and GeometryBasics.Points # -------------------------------------------------------------------- @recipe f(v::AVec{<:GeometryBasics.Point}) = RecipesPipeline.unzip(v) - @recipe f(p::GeometryBasics.Point) = [p]# Special case for 4-tuples in :ohlc series + @recipe f(p::GeometryBasics.Point) = [p] # Special case for 4-tuples in :ohlc series @recipe f(xyuv::AVec{<:Tuple{R1,R2,R3,R4}}) where {R1,R2,R3,R4} = get(plotattributes, :seriestype, :path) === :ohlc ? OHLC[OHLC(t...) for t in xyuv] : RecipesPipeline.unzip(xyuv)