Merge pull request #623 from KristofferC/kc/plot_adapt

use adapted_grid from PlotUtilities for single functions
This commit is contained in:
Tom Breloff 2017-01-05 09:56:37 -07:00 committed by GitHub
commit 9676309ba2

View File

@ -343,8 +343,9 @@ end
@recipe function f(f::FuncOrFuncs)
plt = d[:plot_object]
xmin,xmax = axis_limits(plt[1][:xaxis])
f, xmin, xmax
xmin, xmax = axis_limits(plt[1][:xaxis])
xs = adapted_grid(f, (xmin, xmax))
xs, f
end
#