无论是交互方式,例如从 Ipython 会话中,还是从脚本中,如何确定 matplotlib 正在使用哪个后端?
Use the get_backend() https://matplotlib.org/stable/api/matplotlib_configuration_api.html#matplotlib.get_backend函数获取表示正在使用哪个后端的字符串:
>>> import matplotlib
>>> matplotlib.get_backend()
'TkAgg'
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)