Alexander Gromnitsky Alexander Gromnitsky - 1 year ago 305
Python Question

List of all available matplotlib backends

The current backend name is accessible via

>>> import matplotlib.pyplot as plt
>>> plt.get_backend()

Is there a way to get a list of all backends that can be used on a particular machine?

Thanks in advance.

Answer Source

You can access the lists


the third being the concatenation of the former two. If I read the source code correctly, those lists are hard-coded though, and don't tell you what backends are actually usable. There is also


but this also only checks against the hard-coded list.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download