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?
Use the get_backend() function to obtain a string denoting which backend is in use:
get_backend()
>>> import matplotlib >>> matplotlib.get_backend() 'TkAgg'
1.4m articles
1.4m replys
5 comments
57.0k users