Either interactively, such as from within an Ipython session, or from within a script, how can you determine which backend is being used by matplotlib?
+5
A:
Use the get_backend()
function to obtain a string denoting which backend is in use:
>>> import matplotlib
>>> matplotlib.get_backend()
'TkAgg'
Andrew
2010-08-26 22:26:16