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

Changeset 67

Show
Ignore:
Timestamp:
01/21/11 14:32:05
Author:
cbc
Message:

Fix windrose legend labels.

Files:

Legend:

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

    r66 r67  
    22# -*- coding: utf-8 -*- 
    33 
    4 __version__ = '1.4
     4__version__ = '1.4cbc1
    55__author__ = 'Lionel Roubeyrie' 
    66__mail__ = 'lionel.roubeyrie@gmail.com' 
    77__license__ = 'CeCILL-B' 
     8__modified_by__ = 'Chris Calloway' 
     9__modified_email__ = 'cbc@unc.edu' 
    810 
    911import matplotlib 
     
    140142        def get_labels(): 
    141143            labels = np.copy(self._info['bins']) 
    142             labels = ["[%.1f : %0.1f[" %(labels[i], labels[i+1]) \ 
     144            labels = ["[%.1f : %0.1f]" %(labels[i], labels[i+1]) \ 
    143145                      for i in range(len(labels)-1)] 
    144146            return labels