use plt.show instead of fig.show as suggested