我正在使用Python的Pygal世界地图模块。简而言之,当光标悬停在美国时,我想要“2016”弹出。但是,当我悬停在美国时,我没有得到任何鼠标悬停效果。我试图实现对Pygal网站上的鼠标悬停效果:http://www.pygal.org/en/latest/documentation/types/maps/pygal_maps_world.htmlPygal世界地图 - 鼠标悬停功能
import pygal
wm = pygal.maps.world.World()
wm.title = 'Countries I\'ve Been To'
wm.add('United States',{'us':2016})
wm.render_to_file('myplaces.svg')