Commit 5fb61a92 authored by David Schnur's avatar David Schnur

Respect autoscale when nullifying points.

Resolves #1033.
parent 2347c9a2
......@@ -1073,10 +1073,14 @@ Licensed under the MIT license.
if (val != null) {
f = format[m];
// extract min/max info
if (f.x)
updateAxis(s.xaxis, val, val);
if (f.y)
updateAxis(s.yaxis, val, val);
if (f.autoscale) {
if (f.x) {
updateAxis(s.xaxis, val, val);
}
if (f.y) {
updateAxis(s.yaxis, val, val);
}
}
}
points[k + m] = null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment