def setUpModule():
global _plot_filename
global _pdf_out
try:
import matplotlib
matplotlib.use('Agg')
from matplotlib.backends.backend_pdf import PdfPages
_pdf_out = PdfPages(_plot_filename)
except:
_pdf_out = None
评论列表
文章目录