ó
 ,ľ[c           @   ss  d  Z  y d d l j Z Wn e k
 r8 d d l Z n Xd d l Z d d l Z d d l j Z	 d d l
 Z d Z e j e  Z e j e j    Z e j   e j e  Z e j d  j   Z e j d  j   Z e j d  d Z e j e  Z e GHx) e j   D] \ Z Z d e e f GHqWi d	 d
 6d d 6d d 6d d 6d d 6Z e j e e  e	 j    d S(   s.  
========
Football
========

Load football network in GML format and compute some network statistcs.

Shows how to download GML graph in a zipped file, unpack it, and load
into a NetworkX graph.

Requires Internet connection to download the URL
http://www-personal.umich.edu/~mejn/netdata/football.zip
i˙˙˙˙Ns8   http://www-personal.umich.edu/~mejn/netdata/football.zips   football.txts   football.gmls   
i   s   %s %dt   blackt
   node_colori2   t	   node_sizet   greyt
   line_colori    t
   linewidthsgš?t   width(!   t   __doc__t   urllib.requestt   requestt   urllibt   ImportErrort   iot   zipfilet   matplotlib.pyplott   pyplott   pltt   networkxt   nxt   urlt   urlopent   sockt   BytesIOt   readt   st   closet   ZipFilet   zft   decodet   txtt   gmlt   splitt	   parse_gmlt   Gt   degreet   nt   dt   optionst   drawt   show(    (    (    s6   share/doc/networkx-2.2/examples/graph/plot_football.pyt   <module>   s8   


