matplotlib.figure.Figure.draw_without_rendering#

Figure.draw_without_rendering()[源代码][源代码]#

绘制图形但不输出。这对于获取在知道其大小之前需要绘制的艺术家的最终尺寸(例如文本)很有用。