On Wed, Apr 27, 2011 at 4:17 AM, Clyng11 <cou...@ya...> wrote:
>
> 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.
Could you post a complete, free-standing example that we can run that
exposes your problem?
|