I run this code, but labels do not appear under the ticks. # label the X ticks with years self.mpl.canvas.ax.set_xticks(np.arange(len(years))+width/2, [int(year) for year in years]) self.mpl.canvas.ax.set_xticklabels([str(year) for year in years])
I Need an help. Thanks. -- View this message in context: http://old.nabble.com/displaying-ticklabels-on-a-graph-tp31484414p31484414.html Sent from the matplotlib - devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel