As you can see the Y-axis doesn’t show the numbers properly, in Chrome nor on Firexox.
If I save the plot with savefig(“plot1.png”) then it works well.
And something more strange
Why is this code scatter(1:10000,rand(10000))
producing this plot?
I mean, if I use scatter(1:100,rand(100)) instead then I get a plot with the dots well distributed but with higher numbers the dots accumulate on the top and the bottom.
I’m getting the same bad behaviour if I use the syntax display(plot(1:10000, rand(10000), seriestype=:scatter))
That is very unfortunate - an oversight on my part.
InspectDR gets its speed on large datasets by dropping points that are not “visible”. Instead, it “draws a glitch” to visually indicate that the data is within some y-range (this is what “F1-acceleration” does).
This works well on line art… but not so much when all you draw are symbols.
You can work around this by setting the parameter dataf1=false when you “add” a dataset:
In short, this setting inhibits “F1”-acceleration, depending on how a trace is drawn. By default, InspectDR will no longer apply “F1”-acceleration when data is displayed with glyphs (or markers - in Plots.jl-speak).
The unfortunate result of this change is that rendering of plots will be significantly slower for large datasets that are plotted with markers.