运用pyechats做的疫情可视化全球地图,不能显示数据,而且没有颜色

运用pyechats做的疫情可视化全球地图,不能显示数据,而且没有颜色
自己找了很久没找到问题
求佬帮帮忙!

img

data_pair = [(i,j) for i,j in zip(country,confirm)]
def draw_global_pics(data_pair):
    world_map = (
            Map(init_opts=opts.InitOpts(width="2000px",height="1000px",bg_color='#ADD8E6'))
            .add(
                '确诊人数',data_pair,'world',is_map_symbol_show=False,)
            .set_series_opts(label_opts=opts.LabelOpts(is_show=False))
            .set_global_opts(
                title_opts=opts.TitleOpts(title='全球新冠疫情累计确诊人数地图'),
                legend_opts=opts.LegendOpts(is_show=False),
                visualmap_opts=opts.VisualMapOpts(
                    max_=3600,
                    is_piecewise=True,
                    pieces=[
                        {'max': 9, 'min': 0, 'label': '0-9', 'color': '#FFFFCC'},
                        {'max': 99, 'min': 10, 'label': '10-99', 'color': '#FFC4B3'},
                        {'max': 999, 'min': 100, 'label': '100-999', 'color': '#FF9985'},
                        {'max': 9999, 'min': 1000, 'label': '1000-9999', 'color': '#F57567'},
                        {'max': 99999, 'min': 10000, 'label': '10000-99999', 'color': '#E64546'},
                        {'max': 999999, 'min': 100000, 'label': '100000-999999', 'color': '#B80909'},
                        {'max': 4999999, 'min': 1000000, 'label': '1000000-4999999', 'color': '#8A0808'},
                        {'max': 9999999, 'min': 5000000, 'label': '>=5000000', 'color': '#660000'}
                    ]
                ),
            )
        )
    world_map.render('world_map.html')
draw_global_pics(data_pair)

img

嗯,你把你的代码发给我,我给你修改一下