Skip to content

Commit

Permalink
replace echarts.baidu.com to echarts.apache.org
Browse files Browse the repository at this point in the history
  • Loading branch information
fnsflm committed Mar 15, 2021
1 parent 8c04f25 commit ab84dca
Show file tree
Hide file tree
Showing 29 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion BMap/hiking_trail_in_hangzhou.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async def get_json_data(url: str) -> dict:
# 获取官方的数据
data = asyncio.run(
get_json_data(
url="https://echarts.baidu.com/examples/data/asset/data/hangzhou-tracks.json"
url="https://echarts.apache.org/examples/data/asset/data/hangzhou-tracks.json"
)
)

Expand Down
2 changes: 1 addition & 1 deletion Bar3D/bar3d_punch_card.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Bar3D

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=bar3d-punch-card&gl=1
参考地址: https://echarts.apache.org/examples/editor.html?c=bar3d-punch-card&gl=1
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Candlestick/professional_kline_brush.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ from pyecharts.charts import Kline, Line, Bar, Grid

def get_data():
response = requests.get(
url="https://echarts.baidu.com/examples/data/asset/data/stock-DJI.json"
url="https://echarts.apache.org/examples/data/asset/data/stock-DJI.json"
)
json_response = response.json()
# 解析数据
Expand Down
2 changes: 1 addition & 1 deletion Funnel/funnel_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Funnel

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=funnel
参考地址: https://echarts.apache.org/examples/editor.html?c=funnel
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Gauge/gauge.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Gauge

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=gauge
参考地址: https://echarts.apache.org/examples/editor.html?c=gauge
目前无法实现的功能:
Expand Down
4 changes: 2 additions & 2 deletions Graph/npm_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from pyecharts.charts import Graph

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=graph-npm
参考地址: https://echarts.apache.org/examples/editor.html?c=graph-npm
目前无法实现的功能:
Expand All @@ -27,7 +27,7 @@ async def get_json_data(url: str) -> dict:
# 获取官方的数据
data = asyncio.run(
get_json_data(
url="https://echarts.baidu.com/examples/data/asset/data/npmdepgraph.min10.json"
url="https://echarts.apache.org/examples/data/asset/data/npmdepgraph.min10.json"
)
)

Expand Down
2 changes: 1 addition & 1 deletion Heatmap/heatmap_on_cartesian.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import HeatMap

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=heatmap-cartesian
参考地址: https://echarts.apache.org/examples/editor.html?c=heatmap-cartesian
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Line/basic_area_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Line

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=area-basic
参考地址: https://echarts.apache.org/examples/editor.html?c=area-basic
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Line/basic_line_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Line

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=line-simple
参考地址: https://echarts.apache.org/examples/editor.html?c=line-simple
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Line/beijing_aqi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Line

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=line-aqi
参考地址: https://echarts.apache.org/examples/editor.html?c=line-aqi
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Line/multiple_x_axes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from pyecharts.commons.utils import JsCode

"""
Gallery 使用 pyecharts 1.0.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=multiple-x-axis
参考地址: https://echarts.apache.org/examples/editor.html?c=multiple-x-axis
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Line/rainfall.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Line

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=area-rainfall
参考地址: https://echarts.apache.org/examples/editor.html?c=area-rainfall
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Line/smoothed_line_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Line

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=line-smooth
参考地址: https://echarts.apache.org/examples/editor.html?c=line-smooth
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Line/stacked_area_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Line

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=area-stack
参考地址: https://echarts.apache.org/examples/editor.html?c=area-stack
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Line/stacked_line_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Line

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=line-stack
参考地址: https://echarts.apache.org/examples/editor.html?c=line-stack
目前无法实现的功能:
Expand Down
4 changes: 2 additions & 2 deletions Map/population_density_of_HongKong.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from pyecharts.charts import Map

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=map-HK
参考地址: https://echarts.apache.org/examples/editor.html?c=map-HK
"""

WIKI_LINK = (
Expand All @@ -27,7 +27,7 @@ async def get_json_data(url: str) -> dict:

# 下载香港地图
data = asyncio.run(
get_json_data(url="https://echarts.baidu.com/examples/data/asset/geo/HK.json")
get_json_data(url="https://echarts.apache.org/examples/data/asset/geo/HK.json")
)

MAP_DATA = [
Expand Down
2 changes: 1 addition & 1 deletion Map/population_density_of_HongKong_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from pyecharts.datasets import register_url

"""
Gallery 使用 pyecharts 1.1.0 和 echarts-china-cities-js
参考地址: https://echarts.baidu.com/examples/editor.html?c=map-HK
参考地址: https://echarts.apache.org/examples/editor.html?c=map-HK
"""
ssl._create_default_https_context = ssl._create_unverified_context
# 与 pyecharts 注册,当画香港地图的时候,用 echarts-china-cities-js
Expand Down
2 changes: 1 addition & 1 deletion Parallel/basic_parallel.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Parallel

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=parallel-simple
参考地址: https://echarts.apache.org/examples/editor.html?c=parallel-simple
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Pie/customized_pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Pie

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=pie-doughnut
参考地址: https://echarts.apache.org/examples/editor.html?c=pie-doughnut
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Pie/doughnut_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Pie

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=pie-doughnut
参考地址: https://echarts.apache.org/examples/editor.html?c=pie-doughnut
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Pie/nested_pies.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Pie

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=pie-nest
参考地址: https://echarts.apache.org/examples/editor.html?c=pie-nest
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion Radar/basic_radar_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Radar

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=radar
参考地址: https://echarts.apache.org/examples/editor.html?c=radar
目前无法实现的功能:
Expand Down
4 changes: 2 additions & 2 deletions Sankey/sankey_diagram.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from pyecharts.charts import Sankey

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=sankey-energy
参考地址: https://echarts.apache.org/examples/editor.html?c=sankey-energy
目前无法实现的功能:
Expand All @@ -26,7 +26,7 @@ async def get_json_data(url: str) -> dict:

# 获取官方的数据
data = asyncio.run(
get_json_data(url="https://echarts.baidu.com/examples/data/asset/data/energy.json")
get_json_data(url="https://echarts.apache.org/examples/data/asset/data/energy.json")
)

(
Expand Down
2 changes: 1 addition & 1 deletion Scatter/basic_scatter_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import Scatter

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=scatter-simple
参考地址: https://echarts.apache.org/examples/editor.html?c=scatter-simple
目前无法实现的功能:
Expand Down
4 changes: 2 additions & 2 deletions Scatter3D/scatter3d.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from pyecharts.charts import Scatter3D

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=scatter3d&gl=1&theme=dark
参考地址: https://echarts.apache.org/examples/editor.html?c=scatter3d&gl=1&theme=dark
目前无法实现的功能:
Expand All @@ -27,7 +27,7 @@ async def get_json_data(url: str) -> dict:
# 获取官方的数据
data = asyncio.run(
get_json_data(
url="https://echarts.baidu.com/examples/data/asset/data/nutrients.json"
url="https://echarts.apache.org/examples/data/asset/data/nutrients.json"
)
)

Expand Down
2 changes: 1 addition & 1 deletion Surface3D/surface_wave.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from pyecharts.charts import Surface3D

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=surface-wave&gl=1
参考地址: https://echarts.apache.org/examples/editor.html?c=surface-wave&gl=1
目前无法实现的功能:
Expand Down
2 changes: 1 addition & 1 deletion ThemeRiver/theme_river.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from pyecharts.charts import ThemeRiver

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=themeRiver-basic
参考地址: https://echarts.apache.org/examples/editor.html?c=themeRiver-basic
目前无法实现的功能:
Expand Down
4 changes: 2 additions & 2 deletions Tree/radial_tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from pyecharts.charts import Tree

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=tree-radial
参考地址: https://echarts.apache.org/examples/editor.html?c=tree-radial
目前无法实现的功能:
Expand All @@ -26,7 +26,7 @@ async def get_json_data(url: str) -> dict:

# 获取官方的数据
data = asyncio.run(
get_json_data(url="https://echarts.baidu.com/examples/data/asset/data/flare.json")
get_json_data(url="https://echarts.apache.org/examples/data/asset/data/flare.json")
)

(
Expand Down
4 changes: 2 additions & 2 deletions Treemap/echarts_option_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ from pyecharts.charts import TreeMap

"""
Gallery 使用 pyecharts 1.1.0
参考地址: https://echarts.baidu.com/examples/editor.html?c=treemap-drill-down
参考地址: https://echarts.apache.org/examples/editor.html?c=treemap-drill-down
目前无法实现的功能:
Expand All @@ -28,7 +28,7 @@ async def get_json_data(url: str) -> dict:
# 获取官方的数据
data = asyncio.run(
get_json_data(
url="https://echarts.baidu.com/examples/data/asset/data/"
url="https://echarts.apache.org/examples/data/asset/data/"
"ec-option-doc-statistics-201604.json"
)
)
Expand Down

0 comments on commit ab84dca

Please sign in to comment.