代码块替换成为了:pygal_maps_world.maps
在pygal_maps_world.maps.World(),对世界地图进行调用
import pygal_maps_world.maps
wm = pygal_maps_world.maps.World()
wm.title = "NOrth,Centeal,and South America"
wm.add('North America',['ca','mx','us'])
wm.add('Central America',['bz','cr','gt','hn','ni','pa','sv'])
wm.add('South America',['ar','bo','br','cl','co','ec','gf','gy','pe','py','sr',
'uy','ve'])
wm.render_to_file('americas.svg')