NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

Changeset 77

Show
Ignore:
Timestamp:
02/04/11 17:42:25
Author:
cbc
Message:

Better spacing of yticklables in winddist.py

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sodarplot/trunk/sodarplot/scintec/winddist.py

    r76 r77  
    133133            ax.bar(theta[x], rho[x], bins = np.arange(0.0,20.0,2.5), normed=True, opening=0.8, edgecolor='white') 
    134134            yticklabels = ['',] + \ 
    135                           [plt.getp(textobj,'text')+"%" 
     135                          ["  %s%%" % plt.getp(textobj,'text') 
    136136                               for textobj in plt.getp(ax,'yticklabels')[1:]] 
    137137            plt.setp(ax,yticklabels=yticklabels)