ó
±éRc           @   s¨   d  Z  d d l Z d d l m Z m Z m Z m Z d d l m	 Z	 d d l
 m Z d d l m Z m Z e d ƒ \ Z Z Z Z Z Z Z Z d e f d	 „  ƒ  YZ d S(
   s]  
This module contains functions to handle markers.  Used by both the
marker functionality of `~matplotlib.axes.Axes.plot` and
`~matplotlib.axes.Axes.scatter`.

All possible markers are defined here:

============================== ===============================================
marker                         description
============================== ===============================================
"."                            point
","                            pixel
"o"                            circle
"v"                            triangle_down
"^"                            triangle_up
"<"                            triangle_left
">"                            triangle_right
"1"                            tri_down
"2"                            tri_up
"3"                            tri_left
"4"                            tri_right
"8"                            octagon
"s"                            square
"p"                            pentagon
"*"                            star
"h"                            hexagon1
"H"                            hexagon2
"+"                            plus
"x"                            x
"D"                            diamond
"d"                            thin_diamond
"|"                            vline
"_"                            hline
TICKLEFT                       tickleft
TICKRIGHT                      tickright
TICKUP                         tickup
TICKDOWN                       tickdown
CARETLEFT                      caretleft
CARETRIGHT                     caretright
CARETUP                        caretup
CARETDOWN                      caretdown
"None"                         nothing
None                           nothing
" "                            nothing
""                             nothing
``'$...$'``                    render the string using mathtext.
`verts`                        a list of (x, y) pairs used for Path vertices.
path                           a `~matplotlib.path.Path` instance.
(`numsides`, `style`, `angle`) see below
============================== ===============================================

The marker can also be a tuple (`numsides`, `style`, `angle`), which
will create a custom, regular symbol.

    `numsides`:
      the number of sides

    `style`:
      the style of the regular symbol:

      =====   =============================================
      Value   Description
      =====   =============================================
      0       a regular polygon
      1       a star-like symbol
      2       an asterisk
      3       a circle (`numsides` and `angle` is ignored)
      =====   =============================================

    `angle`:
      the angle of rotation of the symbol, in degrees

For backward compatibility, the form (`verts`, 0) is also accepted,
but it is equivalent to just `verts` for giving a raw set of vertices
that define the shape.
iÿÿÿÿN(   t   is_math_textt   is_string_liket
   is_numliket   iterable(   t   rcParams(   t   Path(   t   IdentityTransformt   Affine2Di   t   MarkerStylec           B   sJ  e  Z i# d  d 6d d 6d d 6d d 6d d	 6d
 d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d  d! 6d" d# 6d$ d$ 6d% d& 6d' d( 6d) d* 6d+ d, 6d- e 6d. e 6d/ e 6d0 e 6d1 e 6d2 e 6d3 e 6d4 e	 6d5 d6 6d5 dƒ 6d5 d7 6d5 d8 6Z d„ Z d… Z d† Z d? Z dƒ d9 d@ „ Z dA „  Z dB „  Z dC „  Z dD „  Z dE „  Z dF „  Z dG „  Z dH „  Z dI „  Z dJ „  Z dK „  Z dL „  Z dM „  Z dN „  Z dO „  Z dP „  Z  dQ „  Z! dR „  Z" dS „  Z# dT „  Z$ dU „  Z% dV „  Z& dW „  Z' dX dY „ Z( dZ „  Z) d[ „  Z* e+ d\ dX g d] d] g dX d] g d\ dX g g e+ j, e+ j- e+ j- e+ j. g ƒ Z/ e+ d\ dX g d^ d_ d` d_ g da d_ d` d_ g d\ dX g g e+ j, e+ j- e+ j- e+ j. g ƒ Z0 e+ d^ d_ d` d_ g da d_ d` d_ g dX d] g d] d] g d^ d_ d` d_ g g e+ j, e+ j- e+ j- e+ j- e+ j. g ƒ Z1 e+ d\ dX g d\ d] g d] d] g d\ dX g g e+ j, e+ j- e+ j- e+ j. g ƒ Z2 e+ d\ dX g d\ d] g dX d] g d\ dX g g e+ j, e+ j- e+ j- e+ j. g ƒ Z3 db „  Z4 dc „  Z5 dd „  Z6 de „  Z7 df „  Z8 dg „  Z9 dh „  Z: di „  Z; dj „  Z< dk „  Z= dl „  Z> dm „  Z? dn „  Z@ e+ d\ d] g d\ dX g g ƒ ZA do „  ZB dp „  ZC e+ d\ d\ g dX d\ g g ƒ ZD dq „  ZE dr „  ZF e+ ds d\ g ds dX g g ƒ ZG dt „  ZH du „  ZI e+ d] d\ g dX d\ g d\ d] g d\ dX g g e+ j, e+ j- e+ j, e+ j- g ƒ ZJ dv „  ZK e+ d\ d\ g d\ d] g d\ d\ g dw d? g d\ d\ g dx d? g g e+ j, e+ j- e+ j, e+ j- e+ j, e+ j- g ƒ ZL dy „  ZM dz „  ZN d{ „  ZO d| „  ZP e+ d] d} g d\ d\ g dX d} g g ƒ ZQ d~ „  ZR d „  ZS d€ „  ZT d� „  ZU e+ d] d] g dX dX g d] dX g dX d] g g e+ j, e+ j- e+ j, e+ j- g ƒ ZV d‚ „  ZW RS(‡   t   pointt   .t   pixelt   ,t   circlet   ot   triangle_downt   vt   triangle_upt   ^t   triangle_leftt   <t   triangle_rightt   >t   tri_downt   1t   tri_upt   2t   tri_leftt   3t	   tri_rightt   4t   octagont   8t   squaret   st   pentagont   pt   start   *t   hexagon1t   ht   hexagon2t   Ht   plust   +t   xt   diamondt   Dt   thin_diamondt   dt   vlinet   |t   hlinet   _t   tickleftt	   tickrightt   tickupt   tickdownt	   caretleftt
   caretrightt   caretupt	   caretdownt   nothingt   Nonet    t    t   fullt   leftt   rightt   bottomt   topt   noneg      à?c         C   s'   | |  _  |  j | ƒ |  j | ƒ d S(   sú  
        MarkerStyle

        Attributes
        ----------
        markers : list of known markes

        fillstyles : list of known fillstyles

        filled_markers : list of known filled markers.

        Parameters
        ----------
        marker : string or array_like, optional, default: None
            See the descriptions of possible markers in the module docstring.

        fillstyle : string, optional, default: 'full'
            'full', 'left", 'right', 'bottom', 'top', 'none'
        N(   t
   _fillstylet
   set_markert   set_fillstyle(   t   selft   markert	   fillstyle(    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   __init__�   s    	c         C   s    |  j  j ƒ  } | j d ƒ | S(   Nt   _marker_function(   t   __dict__t   copyt   pop(   RK   R1   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   __getstate__¥   s    c         C   s'   | |  _  |  j |  j ƒ |  j ƒ  d  S(   N(   RP   RI   t   _markert   _recache(   RK   t	   statedict(    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   __setstate__ª   s    	c         C   sh   t  t j d ƒ ƒ |  _ t ƒ  |  _ d  |  _ d  |  _ d  |  _	 d |  _
 d |  _ t |  _ |  j ƒ  d  S(   Ni    i   t   roundt   butt(   i    i   (   R   t   npt   emptyt   _pathR   t
   _transformR?   t	   _alt_patht   _alt_transformt   _snap_thresholdt
   _joinstylet	   _capstylet   Truet   _filledRO   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyRU   ¯   s    						c         C   s   t  t |  j j ƒ ƒ S(   N(   t   boolt   lenR\   t   vertices(   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   __nonzero__º   s    c         C   s   |  j  S(   N(   Rd   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt	   is_filled½   s    c         C   s   |  j  S(   N(   RH   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   get_fillstyleÀ   s    c         C   sE   | |  j  k r. t d d j |  j  ƒ ƒ ‚ n  | |  _ |  j ƒ  d S(   s{   
        Sets fillstyle

        Parameters
        ----------
        fillstyle : string amongst known fillstyles
        s   Unrecognized fillstyle %sR@   N(   t
   fillstylest
   ValueErrort   joinRH   RU   (   RK   RM   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyRJ   Ã   s
    	c         C   s   |  j  S(   N(   Ra   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   get_joinstyleÑ   s    c         C   s   |  j  S(   N(   Rb   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   get_capstyleÔ   s    c         C   s   |  j  S(   N(   RT   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt
   get_marker×   s    c         C   s<  t  | ƒ r= t | ƒ d k r= | d d k r= |  j |  _ nè t | t j ƒ r^ |  j |  _ nÇ t | t ƒ r� | |  j	 k r� t
 |  d |  j	 | ƒ |  _ nˆ t | ƒ rÄ t | ƒ rÄ |  j |  _ na t | t ƒ râ |  j |  _ nC y t | ƒ |  j |  _ Wn& t k
 r$t d j | ƒ ƒ ‚ n X| |  _ |  j ƒ  d  S(	   Ni   i   i   i    t   _set_s   Unrecognized marker style {}(   i   i   (   i    i   i   i   (   R   Rf   t   _set_tuple_markerRO   t
   isinstanceRZ   t   ndarrayt   _set_verticest   listt   markerst   getattrR   R    t   _set_mathtext_pathR   t   _set_path_markerRl   t   formatRT   RU   (   RK   RL   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyRI   Ú   s&    
	c         C   s   |  j  S(   N(   R\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   get_pathñ   s    c         C   s   |  j  j ƒ  S(   N(   R]   t   frozen(   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   get_transformô   s    c         C   s   |  j  S(   N(   R^   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   get_alt_path÷   s    c         C   s   |  j  j ƒ  S(   N(   R_   R}   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   get_alt_transformú   s    c         C   s   |  j  S(   N(   R`   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   get_snap_thresholdý   s    c         C   s   t  |  _ d  S(   N(   t   FalseRd   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_nothing   s    c         C   s‚   | j  } t t j t j | d  d  … d f ƒ ƒ t j t j | d  d  … d f ƒ ƒ ƒ } t ƒ  j d | ƒ |  _ | |  _ d  S(   Ni    i   g      ð?(   Rg   t   maxRZ   t   absR   t   scaleR]   R\   (   RK   t   patht   vertst   rescale(    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_custom_marker  s
    	(+c         C   s   |  j  |  j ƒ d  S(   N(   RŠ   RT   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyRz   
  s    c         C   s&   |  j  } t | ƒ } |  j | ƒ d  S(   N(   RT   R   RŠ   (   RK   Rˆ   RL   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyRu     s    	c         C   si  |  j  } t | d ƒ r9t | ƒ d k r? | d d } } n* t | ƒ d k ri | d | d } } n  | d } | d k r� t j | ƒ |  _ d |  _ n{ | d k rÇ t j | ƒ |  _ d |  _ nQ | d k rú t j | ƒ |  _ t	 |  _
 d |  _ n | d k rt j ƒ  |  _ n  t ƒ  j d ƒ j | ƒ |  _ n, t j | d ƒ } t | ƒ } |  j | ƒ d  S(	   Ni    i   g        i   i   t   mitert   bevelg      à?(   RT   R   Rf   R   t   unit_regular_polygonR\   Ra   t   unit_regular_start   unit_regular_asteriskR‚   Rd   t   unit_circleR   R†   t
   rotate_degR]   RZ   t   asarrayRŠ   (   RK   RL   t   numsidest   rotationt   symstyleRˆ   R‡   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyRr     s.    	
	!c      
   C   s  d d l  m } d d l m } | d d ƒ } | d d d |  j ƒ  d	 | d
 t d ƒ } t | j ƒ d k rs d S| j j d d ƒ \ } } | j j	 d d ƒ \ } } | | }	 | | }
 t	 |	 |
 ƒ } t
 ƒ  j | d |	 | d |
 ƒ j d | ƒ |  _ | |  _ t |  _ d S(   sa   
        Draws mathtext markers '$...$' using TextPath object.

        Submitted by tcb
        iÿÿÿÿ(   t   TextPath(   t   FontPropertiest   sizeg      ð?t   xyi    R"   t   fontpropertiest   usetexs   text.usetexNt   axisg      à?(   i    i    (   t   matplotlib.textR–   t   matplotlib.font_managerR—   Rp   R   Rf   Rg   t   minR„   R   t	   translateR†   R]   R\   R‚   t   _snap(   RK   R–   R—   t   propst   textt   xmint   ymint   xmaxt   ymaxt   widtht   heightt   max_dim(    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyRy   ,  s"    

	 	c         C   s   |  j  ƒ  } | |  j k } | S(   N(   Rj   t   _half_fillstyles(   RK   t   fst   result(    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt
   _half_fillJ  s    g      ð?c         C   sÖ   t  ƒ  j d | ƒ |  _ d |  _ |  j ƒ  } |  j ƒ  sL t j ƒ  |  _ n† | d k ra d } n0 | d k rv d } n | d k r‹ d } n d	 } t j	 ƒ  |  _ |  _
 |  j j | ƒ |  j j ƒ  j d ƒ |  _ d  S(
   Ng      à?g      @RE   g     àp@RF   g     €V@RC   g     €f@g        (   R   R†   R]   R`   Rj   R®   R   R�   R\   t   unit_circle_righthalfR^   R‘   R}   R_   (   RK   t	   reductionR¬   t   rotate(    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_circleO  s    				c         C   s4   t  j ƒ  |  _ t ƒ  j d d ƒ |  _ d  |  _ d  S(   Ng9î”Öÿß¿(   R   t   unit_rectangleR\   R   R    R]   R?   R`   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt
   _set_pixeld  s    
c         C   s   |  j  d |  j ƒ d  S(   NR°   (   R²   t   _point_size_reduction(   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt
   _set_pointr  s    g        g      ð¿iýÿÿÿg      @iÿÿÿÿi   c         C   s]  t  ƒ  j d d ƒ j | ƒ |  _ d |  _ |  j ƒ  } |  j ƒ  sQ |  j |  _ nÿ |  j	 |  j
 |  j |  j g } | d k r¨ | d | d |  _ | d | d |  _ nœ | d k rá | d | d |  _ | d | d |  _ nc | d k r| d	 | d |  _ | d
 | d |  _ n* | d
 | d |  _ | d	 | d |  _ |  j |  _ d |  _ d  S(   Ng      à?g      @RF   i    i   i   RE   RC   i   i   R‹   (   R   R†   R‘   R]   R`   Rj   R®   t   _triangle_pathR\   t   _triangle_path_ut   _triangle_path_lt   _triangle_path_dt   _triangle_path_rR^   R_   Ra   (   RK   t   rott   skipR¬   t   mpaths(    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_triangle‡  s,    !	c         C   s   |  j  d d ƒ S(   Ng        i    (   R¿   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_triangle_up¥  s    c         C   s   |  j  d d ƒ S(   Ng     €f@i   (   R¿   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_triangle_down¨  s    c         C   s   |  j  d d ƒ S(   Ng     €V@i   (   R¿   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_triangle_left«  s    c         C   s   |  j  d d ƒ S(   Ng     àp@i   (   R¿   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_triangle_right®  s    c         C   s1  t  ƒ  j d d ƒ |  _ d |  _ |  j ƒ  } |  j ƒ  sK t j ƒ  |  _ nÙ | d k r` d } n0 | d k ru d } n | d k rŠ d } n d	 } t d d g d
 d g d
 d g d d g d d g g ƒ |  _ t d d g d
 d g d
 d
 g d d
 g d d g g ƒ |  _	 |  j j
 | ƒ |  j |  _ d |  _ d  S(   Ng      à¿g       @RE   g        RF   g     €f@RC   g     àp@g     €V@g      ð?g      à?R‹   (   R   R    R]   R`   Rj   R®   R   R³   R\   R^   R‘   R_   Ra   (   RK   R¬   R±   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_square±  s&    				c         C   s(  t  ƒ  j d d ƒ j d ƒ |  _ d |  _ |  j ƒ  } |  j ƒ  sT t j ƒ  |  _	 nÇ t d d g d d g d d g d d g g ƒ |  _	 t d d g d d g d d g d d g g ƒ |  _
 | d k rÏ d } n0 | d k rä d	 } n | d
 k rù d } n d } |  j j | ƒ |  j |  _ d |  _ d  S(   Ng      à¿i-   g      @g        g      ð?RE   g     àp@RF   g     €V@RC   g     €f@R‹   (   R   R    R‘   R]   R`   Rj   R®   R   R³   R\   R^   R_   Ra   (   RK   R¬   R±   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_diamondÍ  s$    !	3			c         C   s!   |  j  ƒ  |  j j d d ƒ d  S(   Ng333333ã?g      ð?(   RÅ   R]   R†   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_thin_diamondæ  s    
c         C   s¸  t  ƒ  j d ƒ |  _ d |  _ t j d ƒ } |  j ƒ  } |  j ƒ  sQ | |  _ nZ| j	 } d t
 j d ƒ d } t | d | d | d | d g ƒ } t | d | d | d	 | d | d g ƒ } t | d | d | d d | g | d g ƒ } t | d | d | d	 d | g | d g ƒ } | d
 k rH| | }	 }
 nE | d k rd| | }	 }
 n) | d k r€| | }	 }
 n | | }	 }
 |	 |  _ |
 |  _ |  j |  _ d |  _ d  S(   Ng      à?g      @i   i   g      @i    i   i   i   RF   RE   RC   R‹   (   R   R†   R]   R`   R   R�   Rj   R®   R\   Rg   RZ   t   sqrtR^   R_   Ra   (   RK   t   polypathR¬   Rˆ   t   yRF   RE   RC   RD   t   mpatht	   mpath_alt(    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_pentagonê  s.    		(/22		c   
      C   sà  t  ƒ  j d ƒ |  _ d |  _ |  j ƒ  } t j d d d ƒ} |  j ƒ  sW | |  _ n|| j	 } t t
 j | d d … d  d  … f | d d	 … d  d  … f | d f ƒ ƒ } t t
 j | d
 d … d  d  … f | d
 f ƒ ƒ } t t
 j | d d … d  d  … f | d f ƒ ƒ } t t
 j | d | d d	 … d  d  … f | d f ƒ ƒ } | d k rp| | } }	 nE | d k rŒ| | } }	 n) | d k r¨| | } }	 n | | } }	 | |  _ |	 |  _ |  j |  _ d |  _ d  S(   Ng      à?g      @i   t   innerCirclegœÅ‹…!rØ?i    i   i   i
   i   i   i   RF   RE   RC   RŒ   (   R   R†   R]   R`   Rj   R   RŽ   R®   R\   Rg   RZ   t   vstackR^   R_   Ra   (
   RK   R¬   RÈ   Rˆ   RF   RE   RC   RD   RÊ   RË   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt	   _set_star
  s,    		N55<		c         C   s½  t  ƒ  j d ƒ |  _ d  |  _ |  j ƒ  } t j d ƒ } |  j ƒ  sQ | |  _	 n_| j
 } t j t j d t j d ƒ ƒ } t t j | d g | d d  d  … f | d g f ƒ ƒ } t t j | d g | d d … d  d  … f | d g f ƒ ƒ } t | d d  d  … f ƒ } t | d d  d  … f ƒ } | d
 k rM| | }	 }
 nE | d k ri| | }	 }
 n) | d k r…| | }	 }
 n | | }	 }
 |	 |  _	 |
 |  _ |  j |  _ d |  _ d  S(   Ng      à?i   i   g      @i    i   i   i   i   RF   RE   RC   R‹   (   i   i    i   (   i    i   i   i   (   i    i   i   i   (   R   R†   R]   R?   R`   Rj   R   R�   R®   R\   Rg   RZ   R…   t   cost   piRÎ   R^   R_   Ra   (   RK   R¬   RÈ   Rˆ   R-   RF   RE   RC   RD   RÊ   RË   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_hexagon1)  s.    		#;A		c         C   sÆ  t  ƒ  j d ƒ j d ƒ |  _ d  |  _ |  j ƒ  } t j d ƒ } |  j	 ƒ  sZ | |  _
 n_| j } t j d ƒ d d d } } t | d d  d  … f ƒ } t | d d  d  … f ƒ } t t j | | g | d d  d  … f | | g | | g f ƒ ƒ } t t j | | g | d d  d  … f | | g f ƒ ƒ }	 | d k rV| | }
 } nE | d k rr| | }
 } n) | d k rŽ| |	 }
 } n |	 | }
 } |
 |  _
 | |  _ |  j |  _ d |  _ d  S(   Ng      à?i   i   i   i   g      @i   i    i   i   RF   RE   RC   R‹   (   i   i    i   i   i   (   i   i   i   i   (   i    i   i   (   i   i   i   (   R   R†   R‘   R]   R?   R`   Rj   R   R�   R®   R\   Rg   RZ   RÇ   RÎ   R^   R_   Ra   (   RK   R¬   RÈ   Rˆ   R-   RÉ   RF   RE   RC   RD   RÊ   RË   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_hexagon2K  s0    		% <		c      	   C   sO  t  ƒ  j d ƒ |  _ d |  _ |  j ƒ  } t j d ƒ } |  j ƒ  sa |  j j d ƒ | |  _	 ná t
 j d ƒ d } t d d g d d	 g | d	 g d | g d | g | d g d d g g ƒ } | d
 k r× d } n0 | d k rì d } n | d k rd } n d } |  j j | ƒ | |  _	 |  _ |  j j ƒ  j d ƒ |  _ d |  _ d  S(   Ng      à?g      @i   g     €6@g       @g      @i    iÿÿÿÿi   RE   g     €V@RF   g     àp@RD   g     €f@g        R‹   (   R   R†   R]   R`   Rj   R   R�   R®   R‘   R\   RZ   RÇ   R^   R}   R_   Ra   (   RK   R¬   RÈ   R-   t   halfR±   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_octagonn  s*    	(&			c         C   s7   t  ƒ  j d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      à?g      ð?(   R   R†   R]   R`   R‚   Rd   t   _line_marker_pathR\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt
   _set_vlineŽ  s    		c         C   s@   t  ƒ  j d ƒ j d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      à?iZ   g      ð?(	   R   R†   R‘   R]   R`   R‚   Rd   RÖ   R\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt
   _set_hline”  s    		c         C   s:   t  ƒ  j d d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      ð¿g      ð?(   R   R†   R]   R`   R‚   Rd   t   _tickhoriz_pathR\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_tickleftœ  s    		c         C   s:   t  ƒ  j d d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      ð?(   R   R†   R]   R`   R‚   Rd   RÙ   R\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_tickright¢  s    		g       €c         C   s:   t  ƒ  j d d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      ð?(   R   R†   R]   R`   R‚   Rd   t   _tickvert_pathR\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_tickupª  s    		c         C   s:   t  ƒ  j d d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      ð?g      ð¿(   R   R†   R]   R`   R‚   Rd   RÜ   R\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_tickdown°  s    		c         C   s7   t  ƒ  j d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      à?g      ð?(   R   R†   R]   R`   R‚   Rd   t
   _plus_pathR\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt	   _set_plus»  s    		gš™™™™™é?gš™™™™™é¿c         C   s7   t  ƒ  j d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      à?g      @(   R   R†   R]   R`   R‚   Rd   t	   _tri_pathR\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_tri_downÈ  s    		c         C   s@   t  ƒ  j d ƒ j d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      à?iZ   g      @(	   R   R†   R‘   R]   R`   R‚   Rd   Rá   R\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_tri_upÎ  s    		c         C   s@   t  ƒ  j d ƒ j d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      à?i  g      @(	   R   R†   R‘   R]   R`   R‚   Rd   Rá   R\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_tri_leftÔ  s    		c         C   s@   t  ƒ  j d ƒ j d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      à?i´   g      @(	   R   R†   R‘   R]   R`   R‚   Rd   Rá   R\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_tri_rightÚ  s    		g      ø?c         C   s@   t  ƒ  j d ƒ |  _ d |  _ t |  _ |  j |  _ d |  _ d  S(   Ng      à?g      @R‹   (	   R   R†   R]   R`   R‚   Rd   t   _caret_pathR\   Ra   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_caretdownâ  s
    		c         C   sI   t  ƒ  j d ƒ j d ƒ |  _ d |  _ t |  _ |  j |  _ d |  _	 d  S(   Ng      à?i´   g      @R‹   (
   R   R†   R‘   R]   R`   R‚   Rd   Ræ   R\   Ra   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_caretupé  s
    		c         C   sI   t  ƒ  j d ƒ j d ƒ |  _ d |  _ t |  _ |  j |  _ d |  _	 d  S(   Ng      à?i  g      @R‹   (
   R   R†   R‘   R]   R`   R‚   Rd   Ræ   R\   Ra   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_caretleftð  s
    		c         C   sI   t  ƒ  j d ƒ j d ƒ |  _ d |  _ t |  _ |  j |  _ d |  _	 d  S(   Ng      à?iZ   g      @R‹   (
   R   R†   R‘   R]   R`   R‚   Rd   Ræ   R\   Ra   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_caretright÷  s
    		c         C   s7   t  ƒ  j d ƒ |  _ d |  _ t |  _ |  j |  _ d  S(   Ng      à?g      @(   R   R†   R]   R`   R‚   Rd   t   _x_pathR\   (   RK   (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   _set_x  s    		N(   R   R   R   R   R   R    R"   R$   R&   R(   R*   R/   R1   (   s   fulls   lefts   rights   bottoms   tops   none(   s   lefts   rights   bottoms   top(X   t   __name__t
   __module__t   TICKLEFTt	   TICKRIGHTt   TICKUPt   TICKDOWNt	   CARETLEFTt
   CARETRIGHTt   CARETUPt	   CARETDOWNR?   Rw   t   filled_markersRk   R«   Rµ   RN   RS   RW   RU   Rh   Ri   Rj   RJ   Rn   Ro   Rp   RI   R|   R~   R   R€   R�   Rƒ   RŠ   Rz   Ru   Rr   Ry   R®   R²   R´   R¶   R   t   MOVETOt   LINETOt	   CLOSEPOLYR·   R¸   Rº   R¹   R»   R¿   RÀ   RÁ   RÂ   RÃ   RÄ   RÅ   RÆ   RÌ   RÏ   RÒ   RÓ   RÕ   RÖ   R×   RØ   RÙ   RÚ   RÛ   RÜ   RÝ   RÞ   Rß   Rà   Rá   Râ   Rã   Rä   Rå   Ræ   Rç   Rè   Ré   Rê   Rë   Rì   (    (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyR   Z   s  
																									'!7!4''!'!									 		"	#												'				(   t   __doc__t   numpyRZ   t   cbookR    R   R   R   t
   matplotlibR   R‡   R   t
   transformsR   R   t   rangeRï   Rð   Rñ   Rò   Ró   Rô   Rõ   Rö   t   objectR   (    (    (    sL   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/markers.pyt   <module>L   s   "$