ó
 ,µ[c        	   @   s5  d  Z  d d l Z y d d l m Z Wn! e k
 rI d d l m Z n Xd d l j Z	 d d l
 Z e j d ƒ Z e e j d ƒ ƒ Z e e j d ƒ ƒ Z e e j d ƒ ƒ Z e j e d	 d
 ƒZ e j e d	 d
 ƒZ e j e d	 d
 ƒZ e j e d d ƒZ e	 j ƒ  e	 j d ƒ e	 j d ƒ e j e e d d d e ƒe	 j d ƒ e	 j d ƒ e j e e d d d e ƒe	 j d ƒ e	 j d ƒ e j e e d d d e ƒe	 j d ƒ e	 j d ƒ e j e e d e e j ƒ  ƒ d d d e ƒe j e e d d ƒe j e e d d ƒe	 j  ƒ  d S(   sw   
=======
Sampson
=======

Sampson's monastery data.

Shows how to read data from a zip file and plot multiple frames.

iÿÿÿÿN(   t   StringIO(   t   BytesIOs   sampson_data.zips   samplike1.txts   samplike2.txts   samplike3.txtt	   delimiters   	t
   iterationsid   iÝ   t	   samplike1t	   node_sizei2   t   with_labelsiÞ   t	   samplike2iß   t	   samplike3ià   s   samplike1,2,3t   edgelistt   alphag      Ð?(!   t   __doc__t   zipfilet	   cStringIOR    t   ImportErrort   ioR   t   matplotlib.pyplott   pyplott   pltt   networkxt   nxt   ZipFilet   zft   readt   e1t   e2t   e3t   read_edgelistt   G1t   G2t   G3t   spring_layoutt   post   clft   subplott   titlet   drawt   Falset   listt   edgest   draw_networkx_edgest   show(    (    (    s7   share/doc/networkx-2.2/examples/drawing/plot_sampson.pyt   <module>   s>   

.