
p7]c           @   s   d  d l  m Z d  d l Z d  d l j Z d  d l j Z d d d  Z
 e j d d g d d g d d	 g d
 d g d d g d d g d d g d d g d d g d d g g
  Z d S(   i(   t   rangeNc         C   s  t  |   } t j   } | j d  } | j d d d d g  | j d  | j j d  | j t	 j
 d d	   | j d
 d d d d d d d d d g
  | j j t d d d d | j d d d | j j   | j j   | j   } x+ | D]# } | j t j  | j d  q W| j   } x | D] }	 |	 j d  q7W| j   }
 x+ |
 D]# } | j t j  | j d  qaW| j   } x | D] } | j d  qWx t |  D] } d |  | d } | j d | | d | j   d  | d d! d" d d# d$ d% d& d  | j d | | d | d' d  | j   d! d" d d# d$ d% d& d  qW| j  d( d' d d) d d*  | j! d+ d,  d  S(-   Nio   ii2   g      ?g      %@s!   95 % family-wise confidence levelgffffff?i   i   s   V-Ts   V-Ss   T-Ss   V-Ps   T-Ps   S-Ps   V-Ms   T-Ms   S-Ms   P-Mt	   linestylet   -t   colort   grays!   Differences in mean levels of Vart   labelpadi   i
   g{Gzg      Y@t   yt   xmint   xmaxt	   linewidthg      ?t   bluet   markert   |t	   markeveryi    t   xs   --t   blackt   bottomg      ?("   t   lent   pltt   figuret   add_subplott   axist	   set_titlet   titlet   set_yt
   set_ytickst   npt   aranget   set_yticklabelst   yaxist   gridt   Truet
   set_xlabelt   xaxist   tick_bottomt	   tick_leftt   get_xticklinest
   set_markert   linest   TICKDOWNt   set_markersizet   get_xticklabelst   get_yticklinest   TICKLEFTt   get_yticklabelst   set_xR    t   axhlinet   meant   axvlinet   subplots_adjust(   t   resultst   dimt   yticklabelst   npairst   figt   fspt
   xticklinest	   xticklinet   xlabelst   xlabelt
   yticklinest	   yticklinet   ylabelst   ylabelt   pairt   data(    (    s=   lib/python2.7/site-packages/statsmodels/graphics/tukeyplot.pyt	   tukeyplot   sF    //	gi|$gΐX:@g%-s5goQ^-@g9_o(u@gEdI E@gq*gN6@gl-=gD	#n$@gtsTHg1u@@gA`5g<+Ы-@gn[پ!@gZF@g#7I$g+5gq>:@gBgU S(   t   statsmodels.compat.pythonR    t   numpyR   t   matplotlib.pyplott   pyplotR   t   matplotlib.linesR&   t   NoneRB   t   arrayR2   (    (    (    s=   lib/python2.7/site-packages/statsmodels/graphics/tukeyplot.pyt   <module>   s   9								