It is currently func(da, target, backend, ...). I think we should add a top level function get_backend that takes the target and identifies the backend from that so the call signature can become func(da, target, ...).
To get this to work 3 changes are needed:
add get_backend function
change .map to not pass the backend argument to the functions when it calls them
change all functions in the visuals module to not take a backend argument and to instead do backend = get_backend(target) inside them
It is currently
func(da, target, backend, ...)
. I think we should add a top level functionget_backend
that takes the target and identifies the backend from that so the call signature can becomefunc(da, target, ...)
.To get this to work 3 changes are needed:
get_backend
function.map
to not pass the backend argument to the functions when it calls themvisuals
module to not take a backend argument and to instead dobackend = get_backend(target)
inside them