画条形图时出现“进程已结束,退出代码0”

本人刚刚接触python,麻烦各位帮忙看看,画条形图时出现“进程已结束,退出代码0”,但条形图并没有显现出来,想请教一下是什么问题导致的呢?

import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
df=pd.read_excel("C:/temp/al3-1.xls")
var=df.groupby('Gender').Sales.sum()
fig=plt.figure()
ax1=fig.add_subplot(1,1,1)
ax1.set_xlabel('Gender')
ax1.set_ylabel('Sum of Sales')
ax1.set_title("Gender wise Sum of Sales")
var.plot(kind='bar')

C:\ProgramData\Anaconda3\envs\python\python.exe C:\Users\kjbne\Desktop\python\散点图.py

进程已结束,退出代码0

请问如何调整才能出现图标呢?

最后加一行,plt.show()