当前位置:网站首页>Pyechats 1.19 generate a web version of Baidu map
Pyechats 1.19 generate a web version of Baidu map
2022-07-02 05:02:00 【Vertira】
Code up
from pyecharts import options as opts
from pyecharts.charts import BMap
from pyecharts.faker import Faker
c = (
BMap()
.add_schema(baidu_ak="FAKE_AK", center=[120.13066322374, 30.240018034923])
.add(
"bmap",
[list(z) for z in zip(Faker.provinces, Faker.values())],
label_opts=opts.LabelOpts(formatter="{b}"),
)
.set_global_opts(title_opts=opts.TitleOpts(title="BMap- Basic example "))
.render("bmap_base.html")
)
Generate :bmap_base.html
use Google or IE Browser open
边栏推荐
猜你喜欢
[Yu Yue education] autumn 2021 reference materials of Tongji University
Cultivate primary and secondary school students' love for educational robots
Hcip day 17
How do I interview for a successful software testing position? If you want to get a high salary, you must see the offer
Mathematical problems (number theory) trial division to judge prime numbers, decompose prime factors, and screen prime numbers
10 minute quick start UI automation ----- puppeter
2022-003arts: recursive routine of binary tree
[high speed bus] Introduction to jesd204b
The El cascader echo only selects the questions that are not displayed
VMware installation win10 reports an error: operating system not found
随机推荐
leetcode存在重复元素go实现
Implementation of leetcode two number addition go
There are duplicate elements in leetcode. Go implementation
Mouse events in JS
Splice characters in {{}}
正大留4的主账户信息汇总
10 minute quick start UI automation ----- puppeter
C - derived classes and constructors
oracle 存储过程与job任务设置
Flag bits in assembly language: CF, PF, AF, ZF, SF, TF, if, DF, of
Basic differences between Oracle and MySQL (entry level)
关于Steam 教育的知识整理
Case sharing | intelligent Western Airport
Oracle stored procedure and job task setting
DJB Hash
C # picture display occupancy problem
[opencv] image binarization
Here comes the chicken soup! Keep this quick guide for data analysts
Unity particle Foundation
Rhcsa --- work on the third day