Hey guys,
I have a problem with a piece of plotting code, that previously worked like a charm, but creates an error due to some of the latest updates now. Here is a MWE:
using Plots
using PyPlot
x = 0:100
y = x
pyplot()
pygui( true)
plt = Plots.plot( x, y, xticks=( 0:10:100, 0:10:100))
Plots.savefig( plt, "test.png")
I have already figured out that the problem is caused by xticks, but I don’t know how to fix it.
The error this code creates is
LoadError: MethodError: no method matching getindex(::Int64, ::UnitRange{Int64})