def matplot_fig(): plt.figure() plt.plot([3,1,4,1,20], 'ks-', mec='w', mew=5, ms=20) return plt.gcf()