importpandasaspdimportmatplotlib.pyplotaspltpSerie=pd.Series(annualTemperature[:],index=idxTimes)fig=plt.figure(figsize=(12,4))ax=fig.add_subplot(111)pSerie.plot(ax=ax,title='%s at %s'%(dataset.variables['GANNTMP_30MIN'].long_name,ciudad))ax.set_ylabel(dataset.variables['GANNTMP_30MIN'].units)