def plt_show(show=True, **kwargs):
"""Helper to show a figure while suppressing warnings"""
import matplotlib
import matplotlib.pyplot as plt
if show and matplotlib.get_backend() != 'agg':
plt.show(**kwargs)
utils.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录