On Thu, May 30, 2013 at 6:28 PM, Sudheer Joseph <sudheer.jos...@yahoo.com>wrote:

> Dear Users,
>                 Is there a way to set font size of error bar plot axis? I
> tried below one but get error that "'ErrorbarContainer' object has no
> attribute 'xaxis'"
> any help??
>
> ax=plt.errorbar(y,x,err,label='STDV')
> plt.xlim(0,110)
> for tick in ax.xaxis.get_major_ticks():
>                 tick.label.set_fontsize(14)
>
>
Use ax.tick_params (
http://matplotlib.org/api/axes_api.html?highlight=tick_params#matplotlib.axes.Axes.tick_params
).

Hope that helps,
-paul
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to