File: //opt/alt/python27/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/StrConverter.pyc
�
_�3Lc @ sK d Z d d l j Z d d l m Z d g Z d e j f d � � YZ d S( s2 StrConverter module containing class StrConverter.i����N( t iterablet StrConverterc B s; e Z d Z e d � � Z e d � � Z e d � � Z RS( s� : A matplotlib converter class. Provides matplotlib conversion
functionality for string data values.
Valid units for string are:
- 'indexed' : Values are indexed as they are specified for plotting.
- 'sorted' : Values are sorted alphanumerically.
- 'inverted' : Values are inverted so that the first value is on top.
- 'sorted-inverted' : A combination of 'sorted' and 'inverted'
c C s d S( s� : Returns information on how to handle an axis that has string data.
= INPUT VARIABLES
- axis The axis using this converter.
- unit The units to use for a axis with string data.
= RETURN VALUE
- Returns a matplotlib AxisInfo data structure that contains
minor/major formatters, major/minor locators, and default
label information.
N( t None( t unitt axis( ( s\ /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/StrConverter.pyt axisinfo! s c
C s_ t j j | � r | S| g k r&