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))
以上就是Pyecharts 地图绘制钦州时,钦南区数据点消失,如何解决?的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号