Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed May 27, 2022
1 parent 3c9e590 commit f2827f1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/text_override.jl
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,6 @@ to_array(f::AbstractVector) = f
to_array(f::T) where T <: Makie.VecTypes = T[f]
to_array(f::T) where T = T[f]

to_narray(f::AbstractVector, n::Int) = length(f) == n ? f : fill(f, n)
to_narray(f::T) where T <: Makie.VecTypes = fill(f, n)
to_narray(f::T) where T = length(f) == n ? f : fill(f, n)


function Makie.plot!(t::Makie.Text{<: Tuple{<: CachedTeX}})
teximg!(
t, lift(to_array, t[1]);
Expand Down

0 comments on commit f2827f1

Please sign in to comment.