ó
±éRc           @  s  d  d l  m Z m Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l j Z d  d l m	 Z	 m
 Z
 d  d l m Z m Z m Z m Z m Z d  d l m Z d „  Z d e f d „  ƒ  YZ d	 f  d
 „  ƒ  YZ e d „ Z e Z d „  Z d „  Z e	 j j d e e ƒ ƒ d S(   iÿÿÿÿ(   t   divisiont   print_functionN(   t	   docstringt   rcParams(   t   Bboxt   IdentityTransformt   TransformedBboxt   TransformedPatht	   Transform(   t   Pathc           sX   d „  ‰ d „  ‰  ‡  ‡ ‡ f d †  } ˆ j  | _  ˆ j | _ ˆ j | _ t | _ | S(   s-  
    Decorator for Artist.draw method. Provides routines
    that run before and after the draw call. The before and after functions
    are useful for changing artist-dependant renderer attributes or making
    other setup function calls, such as starting and flushing a mixed-mode
    renderer.
    c         S  s<   |  j  ƒ  r | j ƒ  n  |  j ƒ  d  k	 r8 | j ƒ  n  d  S(   N(   t   get_rasterizedt   start_rasterizingt   get_agg_filtert   Nonet   start_filter(   t   artistt   renderer(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   before%   s    c         S  sE   |  j  ƒ  d  k	 r( | j |  j  ƒ  ƒ n  |  j ƒ  rA | j ƒ  n  d  S(   N(   R   R   t   stop_filterR
   t   stop_rasterizing(   R   R   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   after,   s    c           s1   ˆ |  | ƒ ˆ |  | | | Ž ˆ  |  | ƒ d  S(   N(    (   R   R   t   argst   kwargs(   R   R   t   draw(    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   draw_wrapper5   s    (   t   __name__t   __dict__t   __doc__t   Truet   _supports_rasterization(   R   R   (    (   R   R   R   sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   allow_rasterization   s    				t   Artistc           B  s~  e  Z d  Z d Z d Z d „  Z d „  Z d „  Z d „  Z d „  Z	 d „  Z
 d	 „  Z d
 „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z  d „  Z! d  „  Z" d! „  Z# d" „  Z$ dE dE dE d# „ Z& d$ „  Z' d% „  Z( d& „  Z) d' „  Z* d( „  Z+ dE d) „ Z, d* „  Z- d+ „  Z. d, „  Z/ d- „  Z0 d. „  Z1 d/ „  Z2 d0 „  Z3 d1 „  Z4 d2 „  Z5 d3 „  Z6 d4 „  Z7 d5 „  Z8 d6 „  Z9 d7 „  Z: d8 „  Z; d9 „  Z< d: „  Z= d; „  Z> d< „  Z? d= „  Z@ d> „  ZA d? „  ZB d@ „  ZC dA „  ZD dB „  ZE dC „  ZF dE eG dD „ ZH RS(F   sW   
    Abstract base class for someone who renders into a
    :class:`FigureCanvas`.
    R   i    c         C  s  d  |  _ d  |  _ t |  _ t |  _ t |  _ d  |  _ d  |  _	 d  |  _
 t |  _ t |  _ d |  _ d  |  _ d  |  _ d  |  _ d  |  _ t |  _ d |  _ i  |  _ y d  |  _ Wn t k
 rÂ n Xd  |  _ d  |  _ d  |  _ d  |  _ t d |  _ t d |  _ d  S(   Nt    i    s   path.sketchs   path.effects(   R   t   figuret
   _transformt   Falset   _transformSetR   t   _visiblet	   _animatedt   _alphat   clipboxt	   _clippatht   _clipont   _lodt   _labelt   _pickert	   _containst   _rasterizedt   _agg_filtert   eventsont   _oidt   _propobserverst   axest   AttributeErrort   _remove_methodt   _urlt   _gidt   _snapR   t   _sketcht   _path_effects(   t   self(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   __init__K   s8    																						c         C  s   |  j  j ƒ  } d  | d <| S(   NR6   (   R   t   copyR   (   R<   t   d(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   __getstate__l   s    
c         C  s/   |  j  d k	 r |  j  |  ƒ n t d ƒ ‚ d S(   s  
        Remove the artist from the figure if possible.  The effect
        will not be visible until the figure is redrawn, e.g., with
        :meth:`matplotlib.axes.Axes.draw_idle`.  Call
        :meth:`matplotlib.axes.Axes.relim` to update the axes limits
        if desired.

        Note: :meth:`~matplotlib.axes.Axes.relim` will not see
        collections even if the collection was added to axes with
        *autolim* = True.

        Note: there is no support for removing the artist's legend entry.
        s   cannot remove artistN(   R6   R   t   NotImplementedError(   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   removes   s    c         C  sD   |  j  } | d k s$ | j d k r( t S| j j ƒ  pC | j j ƒ  S(   s5   Return *True* if units are set on the *x* or *y* axesN(   R4   R   t   xaxisR#   t
   have_unitst   yaxis(   R<   t   ax(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRD   �   s    	c         C  sA   t  |  d d ƒ } | d k s- | j d k r1 | S| j j | ƒ S(   sj   For artists in an axes, if the xaxis has units support,
        convert *x* using xaxis unit type
        R4   N(   t   getattrR   RC   t   convert_units(   R<   t   xRF   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   convert_xunits—   s    c         C  sA   t  |  d d ƒ } | d k s- | j d k r1 | S| j j | ƒ S(   sj   For artists in an axes, if the yaxis has units support,
        convert *y* using yaxis unit type
        R4   N(   RG   R   RE   RH   (   R<   t   yRF   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   convert_yunits¡   s    c         C  s   | |  _  d S(   s«   
        Set the :class:`~matplotlib.axes.Axes` instance in which the
        artist resides, if any.

        ACCEPTS: an :class:`~matplotlib.axes.Axes` instance
        N(   R4   (   R<   R4   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_axesª   s    c         C  s   |  j  S(   sm   
        Return the :class:`~matplotlib.axes.Axes` instance the artist
        resides in, or *None*
        (   R4   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_axes³   s    c         C  s   t  d d g d d g g ƒ S(   sÛ   
        Get the axes bounding box in display space.
        Subclasses should override for inclusion in the bounding box
        "tight" calculation. Default is to return an empty bounding
        box at 0, 0.
        i    (   R   (   R<   R   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_window_extentº   s    c         C  s)   |  j  } | |  j | <|  j  d 7_  | S(   sî   
        Adds a callback function that will be called whenever one of
        the :class:`Artist`'s properties changes.

        Returns an *id* that is useful for removing the callback with
        :meth:`remove_callback` later.
        i   (   R2   R3   (   R<   t   funct   oid(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   add_callbackÃ   s    	c         C  s&   y |  j  | =Wn t k
 r! n Xd S(   s“   
        Remove a callback based on its *id*.

        .. seealso::

            :meth:`add_callback`
               For adding callbacks

        N(   R3   t   KeyError(   R<   RQ   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   remove_callbackÐ   s    
c         C  s.   x' |  j  j ƒ  D] \ } } | |  ƒ q Wd S(   sg   
        Fire an event when property changed, calling all of the
        registered callbacks.
        N(   R3   t	   iteritems(   R<   RQ   RP   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   pchangedß   s    c         C  s   |  j  S(   s[   
        Returns *True* if :class:`Artist` has a transform explicitly
        set.
        (   R$   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   is_transform_setç   s    c         C  s    | |  _  t |  _ |  j ƒ  d S(   s®   
        Set the :class:`~matplotlib.transforms.Transform` instance
        used by this artist.

        ACCEPTS: :class:`~matplotlib.transforms.Transform` instance
        N(   R"   R   R$   RV   (   R<   t   t(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_transformî   s    		c         C  se   |  j  d k r t ƒ  |  _  n@ t |  j  t ƒ r^ t |  j  d ƒ r^ |  j  j |  j ƒ |  _  n  |  j  S(   sl   
        Return the :class:`~matplotlib.transforms.Transform`
        instance used by this artist.
        t   _as_mpl_transformN(   R"   R   R   t
   isinstanceR   t   hasattrRZ   R4   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_transformù   s    c         C  s–   g  } y/ |  j  | ƒ \ } } | r4 | j |  ƒ n  Wn- d d l } | j ƒ  t d |  j ƒ n Xx* |  j ƒ  D] } | j | j | ƒ ƒ qr W| S(   sX   
        List the children of the artist which contain the mouse event *event*.
        iÿÿÿÿNs   while checking(	   t   containst   appendt	   tracebackt	   print_exct   printt	   __class__t   get_childrent   extendt   hitlist(   R<   t   eventt   Lt	   hascursort   infoR`   t   a(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRf     s    
c         C  s   g  S(   sd   
        Return a list of the child :class:`Artist`s this
        :class:`Artist` contains.
        (    (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRd     s    c         C  s@   t  |  j ƒ r |  j |  | ƒ St j d |  j j ƒ t i  f S(   s  Test whether the artist contains the mouse event.

        Returns the truth value and a dictionary of artist specific details of
        selection, such as which points are contained in the pick radius.  See
        individual artists for details.
        s   '%s' needs 'contains' method(   t   callableR.   t   warningst   warnRc   R   R#   (   R<   t
   mouseevent(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyR^     s    c         C  s   | |  _  d S(   sÂ  
        Replace the contains test used by this artist. The new picker
        should be a callable function which determines whether the
        artist is hit by the mouse event::

            hit, props = picker(artist, mouseevent)

        If the mouse event is over the artist, return *hit* = *True*
        and *props* is a dictionary of properties you want returned
        with the contains test.

        ACCEPTS: a callable function
        N(   R.   (   R<   t   picker(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_contains*  s    c         C  s   |  j  S(   sV   
        Return the _contains test used by the artist, or *None* for default.
        (   R.   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_contains:  s    c         C  s.   |  j  d k	 o- |  j  j d k	 o- |  j d k	 S(   s-   Return *True* if :class:`Artist` is pickable.N(   R!   R   t   canvasR-   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   pickable@  s    c         C  sÑ   |  j  ƒ  rv |  j ƒ  } t | ƒ r< | |  | ƒ \ } } n |  j | ƒ \ } } | rv |  j j j | |  | � qv n  xT |  j ƒ  D]F } t | d d ƒ } | j
 d k s¹ | j
 | k rƒ | j | ƒ qƒ qƒ Wd S(   s¹   
        call signature::

          pick(mouseevent)

        each child artist will fire a pick event if *mouseevent* is over
        the artist and the artist has picker set
        R4   N(   Rt   t
   get_pickerRl   R^   R!   Rs   t
   pick_eventRd   RG   R   t   inaxest   pick(   R<   Ro   Rp   t   insidet   propRk   RF   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRx   F  s    
c         C  s   | |  _  d S(   sò  
        Set the epsilon for picking used by this artist

        *picker* can be one of the following:

          * *None*: picking is disabled for this artist (default)

          * A boolean: if *True* then picking will be enabled and the
            artist will fire a pick event if the mouse event is over
            the artist

          * A float: if picker is a number it is interpreted as an
            epsilon tolerance in points and the artist will fire
            off an event if it's data is within epsilon of the mouse
            event.  For some artists like lines and patch collections,
            the artist may provide additional data to the pick event
            that is generated, e.g., the indices of the data within
            epsilon of the pick event

          * A function: if picker is callable, it is a user supplied
            function which determines whether the artist is hit by the
            mouse event::

              hit, props = picker(artist, mouseevent)

            to determine the hit test.  if the mouse event is over the
            artist, return *hit=True* and props is a dictionary of
            properties you want added to the PickEvent attributes.

        ACCEPTS: [None|float|boolean|callable]
        N(   R-   (   R<   Rp   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt
   set_pickerd  s     c         C  s   |  j  S(   s,   Return the picker object used by this artist(   R-   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRu   †  s    c         C  s   |  j  d k	 S(   si   
        Returns True if the artist is assigned to a
        :class:`~matplotlib.figure.Figure`.
        N(   R!   R   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   is_figure_setŠ  s    c         C  s   |  j  S(   s!   
        Returns the url
        (   R7   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_url‘  s    c         C  s   | |  _  d S(   sL   
        Sets the url for the artist

        ACCEPTS: a url string
        N(   R7   (   R<   t   url(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_url—  s    c         C  s   |  j  S(   s&   
        Returns the group id
        (   R8   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_gidŸ  s    c         C  s   | |  _  d S(   sS   
        Sets the (group) id for the artist

        ACCEPTS: an id string
        N(   R8   (   R<   t   gid(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_gid¥  s    c         C  s   t  d r |  j St Sd S(   sS  
        Returns the snap setting which may be:

          * True: snap vertices to the nearest pixel center

          * False: leave vertices as-is

          * None: (auto) If the path contains only rectilinear line
            segments, round to the nearest pixel center

        Only supported by the Agg and MacOSX backends.
        s	   path.snapN(   R   R9   R#   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_snap­  s    
c         C  s   | |  _  d S(   sP  
        Sets the snap setting which may be:

          * True: snap vertices to the nearest pixel center

          * False: leave vertices as-is

          * None: (auto) If the path contains only rectilinear line
            segments, round to the nearest pixel center

        Only supported by the Agg and MacOSX backends.
        N(   R9   (   R<   t   snap(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_snap¿  s    c         C  s   |  j  S(   sú  
        Returns the sketch parameters for the artist.

        Returns
        -------
        sketch_params : tuple or `None`

        A 3-tuple with the following elements:

          * `scale`: The amplitude of the wiggle perpendicular to the
            source line.

          * `length`: The length of the wiggle along the line.

          * `randomness`: The scale factor by which the length is
            shrunken or expanded.

        May return `None` if no sketch parameters were set.
        (   R:   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_sketch_paramsÎ  s    c         C  s:   | d k r d |  _ n | | p$ d | p- d f |  _ d S(   s8  
        Sets the the sketch parameters.

        Parameters
        ----------

        scale : float, optional
            The amplitude of the wiggle perpendicular to the source
            line, in pixels.  If scale is `None`, or not provided, no
            sketch filter will be provided.

        length : float, optional
             The length of the wiggle along the line, in pixels
             (default 128.0)

        randomness : float, optional
            The scale factor by which the length is shrunken or
            expanded (default 16.0)
        g      `@g      0@N(   R   R:   (   R<   t   scalet   lengtht
   randomness(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_sketch_paramsä  s    c         C  s   | |  _  d S(   sˆ   
        set path_effects, which should be a list of instances of
        matplotlib.patheffect._Base class or its derivatives.
        N(   R;   (   R<   t   path_effects(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_path_effectsý  s    c         C  s   |  j  S(   N(   R;   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_path_effects  s    c         C  s   |  j  S(   sg   
        Return the :class:`~matplotlib.figure.Figure` instance the
        artist belongs to.
        (   R!   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt
   get_figure  s    c         C  s   | |  _  |  j ƒ  d S(   s£   
        Set the :class:`~matplotlib.figure.Figure` instance the artist
        belongs to.

        ACCEPTS: a :class:`matplotlib.figure.Figure` instance
        N(   R!   RV   (   R<   t   fig(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt
   set_figure  s    	c         C  s   | |  _  |  j ƒ  d S(   sŽ   
        Set the artist's clip :class:`~matplotlib.transforms.Bbox`.

        ACCEPTS: a :class:`matplotlib.transforms.Bbox` instance
        N(   R(   RV   (   R<   R(   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_clip_box  s    	c         C  sc  d d l  m } m } t } | d k r¾ t | | ƒ rg t t j ƒ  | j	 ƒ  ƒ |  _
 d |  _ t } q¾ t | | ƒ r� t | j ƒ  | j	 ƒ  ƒ |  _ t } q¾ t | t ƒ r¾ | \ } } q¾ n  | d k rÜ d |  _ t } nK t | t ƒ rt | | ƒ |  _ t } n! t | t ƒ r'| |  _ t } n  | sUt t | ƒ t | ƒ ƒ t d ƒ ‚ n  |  j ƒ  d S(   s  
        Set the artist's clip path, which may be:

          * a :class:`~matplotlib.patches.Patch` (or subclass) instance

          * a :class:`~matplotlib.path.Path` instance, in which case
             an optional :class:`~matplotlib.transforms.Transform`
             instance may be provided, which will be applied to the
             path before using it for clipping.

          * *None*, to remove the clipping path

        For efficiency, if the path happens to be an axis-aligned
        rectangle, this method will set the clipping box to the
        corresponding rectangle and set the clipping path to *None*.

        ACCEPTS: [ (:class:`~matplotlib.path.Path`,
        :class:`~matplotlib.transforms.Transform`) |
        :class:`~matplotlib.patches.Patch` | None ]
        iÿÿÿÿ(   t   Patcht	   Rectangles"   Invalid arguments to set_clip_pathN(   t   matplotlib.patchesR’   R“   R#   R   R[   R   R   t   unitR]   R(   R)   R   R   t   get_patht   tupleR	   Rb   t   typet	   TypeErrorRV   (   R<   t   patht	   transformR’   R“   t   success(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_clip_path!  s8    									c         C  s   |  j  S(   sb   
        Return the alpha value used for blending - not supported on all
        backends
        (   R'   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt	   get_alphaW  s    c         C  s   |  j  S(   s   Return the artist's visiblity(   R%   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_visible^  s    c         C  s   |  j  S(   s"   Return the artist's animated state(   R&   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_animatedb  s    c         C  s   |  j  S(   s#   Return whether artist uses clipping(   R*   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_clip_onf  s    c         C  s   |  j  S(   s   Return artist clipbox(   R(   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_clip_boxj  s    c         C  s   |  j  S(   s   Return artist clip path(   R)   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_clip_pathn  s    c         C  s    |  j  d k	 r |  j  j ƒ  Sd S(   s£   
        Return the clip path with the non-affine part of its
        transformation applied, and the remaining affine part of its
        transformation.
        N(   NN(   R)   R   t   get_transformed_path_and_affine(   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt$   get_transformed_clip_path_and_affiner  s    c         C  s   | |  _  |  j ƒ  d S(   sT   
        Set whether artist uses clipping.

        ACCEPTS: [True | False]
        N(   R*   RV   (   R<   t   b(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_clip_on|  s    	c         C  s\   |  j  r> |  j d k	 r+ | j |  j ƒ n  | j |  j ƒ n | j d ƒ | j d ƒ d S(   s    Set the clip properly for the gcN(   R*   R(   R   t   set_clip_rectangleR�   R)   (   R<   t   gc(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   _set_gc_clip…  s    	c         C  s   |  j  S(   s-   return True if the artist is to be rasterized(   R/   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyR
   �  s    c         C  s:   | r- t  |  j d ƒ r- t j d |  ƒ n  | |  _ d S(   s½   
        Force rasterized (bitmap) drawing in vector backend output.

        Defaults to None, which implies the backend's default behavior

        ACCEPTS: [True | False | None]
        R   s%   Rasterization of '%s' will be ignoredN(   R\   R   Rm   Rn   R/   (   R<   t
   rasterized(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_rasterized“  s    c         C  s   |  j  S(   s0   return filter function to be used for agg filter(   R0   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyR      s    c         C  s   | |  _  d S(   s*   
        set agg_filter fuction.

        N(   R0   (   R<   t   filter_func(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_agg_filter¤  s    c         O  s   |  j  ƒ  s d Sd S(   s   Derived classes drawing methodN(   RŸ   (   R<   R   R   R   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyR   «  s    c         C  s   | |  _  |  j ƒ  d S(   s�   
        Set the alpha value used for blending - not supported on
        all backends.

        ACCEPTS: float (0.0 transparent through 1.0 opaque)
        N(   R'   RV   (   R<   t   alpha(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt	   set_alpha°  s    	c         C  s   | |  _  |  j ƒ  d S(   sÙ   
        Set Level of Detail on or off.  If on, the artists may examine
        things like the pixel width of the axes and draw a subset of
        their contents accordingly

        ACCEPTS: [True | False]
        N(   R+   RV   (   R<   t   on(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_lodº  s    	c         C  s   | |  _  |  j ƒ  d S(   sN   
        Set the artist's visiblity.

        ACCEPTS: [True | False]
        N(   R%   RV   (   R<   R¦   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_visibleÅ  s    	c         C  s   | |  _  |  j ƒ  d S(   sT   
        Set the artist's animation state.

        ACCEPTS: [True | False]
        N(   R&   RV   (   R<   R¦   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set_animatedÎ  s    	c         C  s§   |  j  } t |  _  t } xl | j ƒ  D]^ \ } } t |  d | d ƒ } | d k s` t | ƒ rs t d | ƒ ‚ n  | | ƒ t } q% W| |  _  | r£ |  j ƒ  n  d S(   sc   
        Update the properties of this :class:`Artist` from the
        dictionary *prop*.
        t   set_s   Unknown property %sN(	   R1   R#   RU   RG   R   Rl   R5   R   RV   (   R<   t   propst   storet   changedt   kt   vRP   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   update×  s    		

	c         C  s   |  j  S(   sC   
        Get the label used for this artist in the legend.
        (   R,   (   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt	   get_labelê  s    c         C  s6   | d k	 r d | f |  _ n	 d |  _ |  j ƒ  d S(   s|   
        Set the label to *s* for auto legend.

        ACCEPTS: string or anything printable with '%s' conversion.
        s   %sN(   R   R,   RV   (   R<   t   s(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt	   set_labelð  s    	c         C  s   |  j  S(   s6   
        Return the :class:`Artist`'s zorder.
        (   t   zorder(   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt
   get_zorderü  s    c         C  s   | |  _  |  j ƒ  d S(   sˆ   
        Set the zorder for the artist.  Artists with lower zorder
        values are drawn first.

        ACCEPTS: any number
        N(   R¿   RV   (   R<   t   level(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt
   set_zorder  s    	c         C  s’   | j  |  _  | j |  _ | j |  _ | j |  _ | j |  _ | j |  _ | j |  _ | j |  _ | j |  _ | j	 |  _	 | j
 |  _
 |  j ƒ  d S(   s'   Copy properties from *other* to *self*.N(   R"   R$   R%   R'   R(   R*   R)   R+   R,   R:   R;   RV   (   R<   t   other(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   update_from  s    c         C  s   t  |  ƒ j ƒ  S(   sY   
        return a dictionary mapping property name -> value for all Artist props
        (   t   ArtistInspectort
   properties(   R<   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRÆ     s    c         K  sb   g  } xU | j  ƒ  D]G \ } } | j ƒ  } d | } t |  | ƒ } | j | | ƒ g ƒ q W| S(   sH   
        A tkstyle set command, pass *kwargs* to set properties
        s   set_%s(   RU   t   lowerRG   Re   (   R<   R   t   retR¹   Rº   t   funcNameRP   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   set!  s    
c           s÷   ˆ  d k r d „  } nE t j ˆ  t ƒ r< ‡  f d †  } n! t ˆ  ƒ rQ ˆ  } n t d ƒ ‚ g  } xk |  j ƒ  D]] } | | ƒ r’ | j | ƒ n  | j g  | j	 | d t
 ƒD] } | | ƒ r® | ^ q® ƒ qp W| ró | |  ƒ ró | j |  ƒ n  | S(   sý  
        Find artist objects.

        Recursively find all :class:`~matplotlib.artist.Artist` instances
        contained in self.

        *match* can be

          - None: return all objects contained in artist.

          - function with signature ``boolean = match(artist)``
            used to filter matches

          - class instance: e.g., Line2D.  Only return artists of class type.

        If *include_self* is True (default), include self in the list to be
        checked for a match.

        c         S  s   t  S(   N(   R   (   RI   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt	   matchfuncB  s    c           s   t  |  ˆ  ƒ S(   N(   R[   (   RI   (   t   match(    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRË   E  s    sF   match must be None, a matplotlib.artist.Artist subclass, or a callablet   include_selfN(   R   t   cbookt   issubclass_safeR   Rl   t
   ValueErrorRd   R_   Re   t   findobjR#   (   R<   RÌ   RÍ   RË   t   artistst   ct   thisc(    (   RÌ   sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRÑ   -  s"    		N(I   R   t
   __module__R   t   anameR¿   R=   R@   RB   RD   RJ   RL   RM   RN   RO   RR   RT   RV   RW   RY   R]   Rf   Rd   R^   Rq   Rr   Rt   Rx   R{   Ru   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Ä   RÆ   RÊ   R   RÑ   (    (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyR   B   sŠ   	!				
																					"													
		6							
			
						
										
			RÅ   c           B  s¡   e  Z d  Z d „  Z d „  Z e j d ƒ Z d „  Z d „  Z	 d „  Z
 d „  Z d „  Z d	 „  Z d d
 d „ Z d d
 d „ Z d „  Z d „  Z d d „ Z RS(   s¡   
    A helper class to inspect an :class:`~matplotlib.artist.Artist`
    and return information about it's settable properties and their
    current values.
    c         C  sk   t  j | ƒ r( t | ƒ r( | d } n  | |  _ t | t ƒ sO t | ƒ } n  | |  _ |  j ƒ  |  _ d S(   s>  
        Initialize the artist inspector with an
        :class:`~matplotlib.artist.Artist` or sequence of :class:`Artists`.
        If a sequence is used, we assume it is a homogeneous sequence (all
        :class:`Artists` are of the same type) and it is your responsibility
        to make sure this is so.
        i    N(	   RÎ   t   iterablet   lent   oorigR[   R˜   t   ot   get_aliasest   aliasd(   R<   RÚ   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyR=   a  s    		c         C  sË   g  t  |  j ƒ D]B } | j d ƒ s4 | j d ƒ r t t |  j | ƒ ƒ r | ^ q } i  } xf | D]^ } t |  j | ƒ } |  j | ƒ s’ qe n  | j } | d } d | j | d i  ƒ | d <qe W| S(   sù   
        Get a dict mapping *fullname* -> *alias* for each *alias* in
        the :class:`~matplotlib.artist.ArtistInspector`.

        e.g., for lines::

          {'markerfacecolor': 'mfc',
           'linewidth'      : 'lw',
          }

        Rµ   t   get_i
   i   N(	   t   dirRÚ   t
   startswithRl   RG   t   is_aliasR   R   t
   setdefault(   R<   t   namet   namest   aliasesRP   R   t   fullname(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRÛ   s  s    $	
"s*   \n\s*ACCEPTS:\s*((?:.|\n)*?)(?:$|(?:\n\n))c         C  s±   d | } t  |  j | ƒ s8 t d |  j | f ƒ ‚ n  t |  j | ƒ } | j } | d k rc d S| j d ƒ rv d S|  j j | ƒ } | d k	 r­ | j	 d ƒ j
 d d ƒ Sd S(	   sE  
        Get the legal arguments for the setter associated with *attr*.

        This is done by querying the docstring of the function *set_attr*
        for a line that begins with ACCEPTS:

        e.g., for a line linestyle, return
        "[ ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'steps'`` | ``'None'`` ]"
        s   set_%ss   %s has no function %st   unknowns
   alias for i   s   
t    N(   R\   RÚ   R5   RG   R   R   Rß   t   _get_valid_values_regext   searcht   groupt   replace(   R<   t   attrRâ   RP   R   RÌ   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_valid_values�  s    
	c         C  s  g  } x
t  |  j ƒ D]ù } | j d ƒ s1 q n  t |  j | ƒ } t | ƒ sU q n  t t j | ƒ d ƒ d k  rz q n  | } |  j | ƒ r• q n  |  j j	 d |  j j
 } x> |  j j ƒ  D]- } | | j k r¿ | j	 d | j
 } Pq¿ q¿ W| j | d | d | f ƒ q W| S(   s€   
        Get the attribute strings and a full path to where the setter
        is defined for all setters in an object.
        Rµ   i    i   t   .i   (   RÞ   RÚ   Rß   RG   Rl   RØ   t   inspectt
   getargspecRà   RÕ   R   t   mroR   R_   (   R<   t   settersRâ   RÚ   RP   t   source_classt   cls(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   _get_setters_and_targets«  s&    #c         C  s#   g  |  j  ƒ  D] \ } } | ^ q S(   s’   
        Get the attribute strings with setters for object.  e.g., for a line,
        return ``['markerfacecolor', 'linewidth', ....]``.
        (   Rõ   (   R<   Rz   t   target(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   get_settersÅ  s    c         C  s&   | j  } | d k r t S| j d ƒ S(   s^   
        Return *True* if method object *o* is an alias for another
        function.
        s
   alias for N(   R   R   R#   Rß   (   R<   RÚ   t   ds(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRà   Í  s    	c         C  sL   | |  j  k rD | d j g  |  j  | j ƒ  D] } d | ^ q, ƒ S| Sd S(   s  
        return 'PROPNAME or alias' if *s* has an alias, else return
        PROPNAME.

        e.g., for the line markerfacecolor property, which has an
        alias, return 'markerfacecolor or mfc' and for the transform
        property, which does not, return 'transform'
        R    s    or %sN(   RÜ   t   joint   iterkeys(   R<   R½   RI   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   aliased_name×  s    
)c         C  s\   | |  j  k rE d j g  |  j  | j ƒ  D] } d | ^ q) ƒ } n d } d | | | f S(   s.  
        return 'PROPNAME or alias' if *s* has an alias, else return
        PROPNAME formatted for ReST

        e.g., for the line markerfacecolor property, which has an
        alias, return 'markerfacecolor or mfc' and for the transform
        property, which does not, return 'transform'
        R    s    or %ss   :meth:`%s <%s>`%s(   RÜ   Rù   Rú   (   R<   R½   Rö   RI   Rä   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   aliased_name_restè  s
    
	-i   c   	      C  s´   | r d | } n d } | d k	 rE |  j | ƒ } d | | | f S|  j ƒ  } | j ƒ  g  } xL | D]D \ } } |  j | ƒ } |  j | ƒ } | j d | | | f ƒ qh W| S(   s  
        If *prop* is *None*, return a list of strings of all settable properies
        and their valid values.

        If *prop* is not *None*, it is a valid property name and that
        property will be returned as a string of property : valid
        values.
        Rç   R    s   %s%s: %sN(   R   Rí   Rõ   t   sortRû   R_   (	   R<   Rz   t   leadingspacet   padt   acceptst   attrst   linesRš   Râ   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   pprint_settersú  s    	
c         C  s+  | r d | } n d } | d	 k	 rE |  j | ƒ } d | | | f S|  j ƒ  } | j ƒ  g  } g  | D] \ } } |  j | | ƒ ^ qh } g  | D] \ } } |  j | ƒ ^ q“ } t g  | D] }	 t |	 ƒ ^ q¾ ƒ }
 t g  | D] } t | ƒ ^ qã ƒ } | d |
 d d | } | j d ƒ | j | ƒ | j | d j |
 d ƒ d j | ƒ ƒ | j | ƒ | j	 g  t
 | | ƒ D]0 \ }	 } | |	 j |
 d ƒ | j | ƒ ^ q€ƒ | j | ƒ | j d ƒ | SxO | D]G \ } } |  j | ƒ } |  j | | ƒ } | j d | | | f ƒ qÜW| S(
   s.  
        If *prop* is *None*, return a list of strings of all settable properies
        and their valid values.  Format the output for ReST

        If *prop* is not *None*, it is a valid property name and that
        property will be returned as a string of property : valid
        values.
        Rç   R    s   %s%s: %st   =s      t   Propertyi   t   DescriptionN(   R   Rí   Rõ   Rý   Rü   t   maxRØ   R_   t   ljustRe   t   zip(   R<   Rz   Rþ   Rÿ   R   R  R  Rö   Rã   t   nt   col0_lenRk   t   col1_lent   table_formatstrRš   Râ   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   pprint_setters_rest  s<    	
((%%	Dc         C  sÀ   |  j  } g  t | ƒ D]0 } | j d ƒ r t t | | ƒ ƒ r | ^ q } | j ƒ  t ƒ  } xZ | D]R } t | | ƒ } |  j | ƒ r� qf n  y | ƒ  } Wn
 qf qf X| | | d <qf W| S(   sD   
        return a dictionary mapping property name -> value
        RÝ   i   (   RÙ   RÞ   Rß   Rl   RG   Rý   t   dictRà   (   R<   RÚ   Râ   t   gettersR?   RP   t   val(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRÆ   J  s     	!
	c         C  sï   |  j  ƒ  } | j ƒ  } | j ƒ  g  } xÀ | D]¸ } | | } t | d d ƒ d	 k r€ t | ƒ d k r€ t | d  ƒ d } n t | ƒ } | j d d ƒ } t | ƒ d k rÁ | d  d } n  |  j | ƒ } | j d | | f ƒ q/ W| S(
   sJ   
        Return the getters and actual values as list of strings.
        t   shapei   s   ...s   
Rç   i2   s       %s = %s(    (    (	   RÆ   t   keysRý   RG   RØ   t   strRë   Rû   R_   (   R<   R?   Rã   R  Râ   R  R½   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   pprint_gettersc  s    

*c           sè   ˆ  d k r d „  } nB t ˆ  t ƒ r9 ‡  f d †  } n! t ˆ  ƒ rN t } n t d ƒ ‚ g  } xe |  j ƒ  D]W } | | ƒ r� | j | ƒ n  | j g  | j	 | ƒ D] } | | ƒ r¥ | ^ q¥ ƒ qm W| |  ƒ rä | j |  ƒ n  | S(   sA  
        Recursively find all :class:`matplotlib.artist.Artist`
        instances contained in *self*.

        If *match* is not None, it can be

          - function with signature ``boolean = match(artist)``

          - class instance: e.g., :class:`~matplotlib.lines.Line2D`

        used to filter matches.
        c         S  s   t  S(   N(   R   (   RI   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRË   ‡  s    c           s   t  |  ˆ  ƒ S(   N(   R[   (   RI   (   RÌ   (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRË   Š  s    sG   match must be None, an matplotlib.artist.Artist subclass, or a callableN(
   R   t
   issubclassR   Rl   RP   RÐ   Rd   R_   Re   RÑ   (   R<   RÌ   RË   RÒ   RÓ   RÔ   (    (   RÌ   sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRÑ   y  s"    		N(   R   RÕ   R   R=   RÛ   t   ret   compileRè   Rí   Rõ   R÷   Rà   Rû   Rü   R   R  R  RÆ   R  RÑ   (    (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyRÅ   [  s    							
		4		c         C  sU   | d k r; t |  ƒ } | j ƒ  } t d j | ƒ ƒ d St |  d | ƒ } | ƒ  S(   sJ  
    Return the value of object's property.  *property* is an optional string
    for the property you want to return

    Example usage::

        getp(obj)  # get all the object properties
        getp(obj, 'linestyle')  # get the linestyle property

    *obj* is a :class:`Artist` instance, e.g.,
    :class:`~matplotllib.lines.Line2D` or an instance of a
    :class:`~matplotlib.axes.Axes` or :class:`matplotlib.text.Text`.
    If the *property* is 'somename', this function returns

      obj.get_somename()

    :func:`getp` can be used to query all the gettable properties with
    ``getp(obj)``. Many properties have aliases for shorter typing, e.g.
    'lw' is an alias for 'linewidth'.  In the output, aliases and full
    property names will be listed as:

      property or alias = value

    e.g.:

      linewidth or lw = 2
    s   
NRÝ   (   R   RÅ   R  Rb   Rù   RG   (   t   objt   propertyt   inspRÈ   RP   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   getp¢  s    c         O  sÀ  t  |  ƒ } t | ƒ d k rM t | ƒ d k rM t d j | j ƒ  ƒ ƒ d St | ƒ d k r� t | ƒ d k r� t | j d | d ƒ ƒ d St j |  ƒ sª |  g } n t j |  ƒ } t | ƒ d rØ t d ƒ ‚ n  g  } xC t	 d t | ƒ d d ƒ D]% } | j
 | | | | d f ƒ qû W| j | j ƒ  ƒ g  } x` | D]X } xO | D]G \ }	 }
 |	 j ƒ  }	 d |	 } t | | ƒ } | j | |
 ƒ g ƒ qQWqDWg  t j | ƒ D] } | ^ q°S(	   s%  
    Set a property on an artist object.

    matplotlib supports the use of :func:`setp` ("set property") and
    :func:`getp` to set and get object properties, as well as to do
    introspection on the object.  For example, to set the linestyle of a
    line to be dashed, you can do::

      >>> line, = plot([1,2,3])
      >>> setp(line, linestyle='--')

    If you want to know the valid types of arguments, you can provide the
    name of the property you want to set without a value::

      >>> setp(line, 'linestyle')
          linestyle: [ '-' | '--' | '-.' | ':' | 'steps' | 'None' ]

    If you want to see all the properties that can be set, and their
    possible values, you can do::

      >>> setp(line)
          ... long output listing omitted

    :func:`setp` operates on a single instance or a list of instances.
    If you are in query mode introspecting the possible values, only
    the first instance in the sequence is used.  When actually setting
    values, all the instances will be set.  e.g., suppose you have a
    list of two lines, the following will make both lines thicker and
    red::

      >>> x = arange(0,1.0,0.01)
      >>> y1 = sin(2*pi*x)
      >>> y2 = sin(4*pi*x)
      >>> lines = plot(x, y1, x, y2)
      >>> setp(lines, linewidth=2, color='r')

    :func:`setp` works with the MATLAB style string/value pairs or
    with python kwargs.  For example, the following are equivalent::

      >>> setp(lines, 'linewidth', 2, 'color', 'r')  # MATLAB style
      >>> setp(lines, linewidth=2, color='r')        # python style
    i    s   
Ni   Rz   i   s(   The set args must be string, value pairss   set_%s(   RÅ   RØ   Rb   Rù   R  RÎ   R×   t   flattenRÐ   t   rangeR_   Re   RU   RÇ   RG   (   R  R   R   R  t   objst   funcvalst   iRÈ   RÚ   R½   R  RÉ   RP   RI   (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   setpË  s0    ,$$##
c         C  sU   t  j d } | r2 d j t |  ƒ j d d ƒ ƒ Sd j t |  ƒ j d d ƒ ƒ Sd  S(   Ns   docstring.hardcopys   
Rþ   i   (   t
   matplotlibR   Rù   RÅ   R  R  (   Rk   t   hardcopy(    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   kwdoc  s
    
(   t
   __future__R    R   R  Rm   Rï   R#  t   matplotlib.cbookRÎ   R   R   t
   transformsR   R   R   R   R   Rš   R	   R   t   objectR   RÅ   R   R  t   getR"  R%  t   interpdR»   (    (    (    sK   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/matplotlib/artist.pyt   <module>   s(   (	%ÿ ÿ ÿ ÿ H&	M	