From b41f4248f6dd63f330e26b4e62393d439d674aa2 Mon Sep 17 00:00:00 2001 From: Josh Day Date: Mon, 24 Jul 2023 11:01:25 -0400 Subject: [PATCH] fix for 1.6.7. bump version. remove depwarn for collectrows --- Project.toml | 2 +- src/PlotlyLight.jl | 5 ----- test/runtests.jl | 2 -- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Project.toml b/Project.toml index 08ddde7..b2a3d10 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PlotlyLight" uuid = "ca7969ec-10b3-423e-8d99-40f33abb42bf" authors = ["joshday "] -version = "0.7.2" +version = "0.7.3" [deps] Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" diff --git a/src/PlotlyLight.jl b/src/PlotlyLight.jl index 0828fdb..e27bc8b 100644 --- a/src/PlotlyLight.jl +++ b/src/PlotlyLight.jl @@ -277,11 +277,6 @@ function Base.show(io::IO, M::MIME"text/html", o::Plot; setting::Settings = DEFA end #-----------------------------------------------------------------------------# utils -function collectrows(x::AbstractMatrix) - Base.depwarn("collectrows is deprecated. PlotlyLight now automatically applies this to matrices", :collectrows; force=true) - collect.(eachrow(x)) -end - fix_matrix(x::Config) = Config(k => fix_matrix(v) for (k,v) in pairs(x)) fix_matrix(x) = x fix_matrix(x::AbstractMatrix) = collect.(eachrow(x)) diff --git a/test/runtests.jl b/test/runtests.jl index 95aa275..78e6ea6 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -84,6 +84,4 @@ end #-----------------------------------------------------------------------------# other @testset "other" begin @test occursin("{}", repr("text/html", PlotlyLight.page(Plot()))) - - @test_warn "deprecated" PlotlyLight.collectrows(rand(2,2)) end