Currently, in the pylab_setup function, the backend variable is taken from the global scope - however this means that if rcParams['backend'] is modified after importing the module, then pylab_setup will use the backend defined at import time, not the latest.
Should get_backend be called again at the start of pylab_setup?
Currently, in the
pylab_setupfunction, thebackendvariable is taken from the global scope - however this means that ifrcParams['backend']is modified after importing the module, thenpylab_setupwill use the backend defined at import time, not the latest.Should
get_backendbe called again at the start ofpylab_setup?