
python pyecharts 地图上缺少数据点 1?
在使用 pyecharts 绘制钦州地图时,发现生成的结果中缺少了钦南区的点。
from pyecharts import options as opts
from pyecharts.charts import Geo
from pyecharts.globals import ChartType, SymbolType
c = (
Geo()
.add_schema(maptype="钦州", itemstyle_opts=opts.ItemStyleOpts(color="#003366", border_color="#fff"),)
.add("", [['灵山县', 1], ['钦北区', 3], ['浦北县', 4]], type_=ChartType.EFFECT_SCATTER, color="white")
.set_series_opts(label_opts=opts.LabelOpts(is_show=False))










