Hi all,
I was trying this code (yesterday it was fine):
using Plots, LaTeXStrings
gr()
f(x) = (x^3 - 1) / (x-1)
plot(
f, 0, 6,
legend=false,
framestyle=:origin,
yticks=(-3:3, ["$i" for i in 0:6])
)
but today it got error:
Error showing value of type Plots.Plot{Plots.GRBackend}:
ERROR: MethodError: no method matching deleteat!(::UnitRange{Int64}, ::Int64)
Closest candidates are:
** deleteat!(::Vector, ::Integer) at ~/julia-1.7.3/share/julia/base/array.jl:1421**
** deleteat!(::Vector, ::Any) at ~/julia-1.7.3/share/julia/base/array.jl:1468**
** deleteat!(::BitVector, ::Integer) at ~/julia-1.7.3/share/julia/base/bitarray.jl:949**