U
    ª9%e“  ã                   @   s   d Z ddlZddlZddlZddlmZ ddlZ	dZ
ej e
¡Ze e ¡ ¡Ze ¡  e e¡Ze d¡ ¡ Ze d¡ ¡ Ze d¡dd… Ze	 e¡Zeeƒ e ¡ D ]\ZZeed›d	ed
›ƒ q¨dddddœZe	jeddZ e	j!ee feŽ e "¡  dS )a.  
========
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
é    Nz8http://www-personal.umich.edu/~mejn/netdata/football.zipzfootball.txtzfootball.gmlÚ
é   Z20ú Ú2Úblacké2   gš™™™™™¹?)Z
node_colorZ	node_sizeZ
linewidthsÚwidthi±  )Úseed)#Ú__doc__Úurllib.requestÚurllibÚioÚzipfileZmatplotlib.pyplotZpyplotZpltZnetworkxÚnxÚurlÚrequestÚurlopenÚsockÚBytesIOÚreadÚsÚcloseÚZipFileÚzfÚdecodeÚtxtZgmlÚsplitZ	parse_gmlÚGÚprintZdegreeÚnÚdÚoptionsZspring_layoutÚposZdrawÚshow© r$   r$   ú{/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/../../../share/doc/networkx-3.1/examples/graph/plot_football.pyÚ<module>   s*   

