Skip to content

Commit

Permalink
Daily Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixZFB committed Feb 15, 2020
1 parent 21d6433 commit e9a285a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nCov_ECharts_map_visualization/nCov_distribution_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
formatter: '{b}', // b是数据名,c是数据值
fontSize: 12
},
data: [
data: [ // 取出data数据,data是json数据,取出字典的键对应的值
{name: data['name'][0], value: data['value'][0]},
{name: data['name'][1], value: data['value'][1]},
{name: data['name'][2], value: data['value'][2]},
Expand Down
Binary file modified nCov_basemap_visualization/2019-nCoV疫情变化时间图.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions nCov_basemap_visualization/nCoV_daily_change.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def daily_change():
ax1.set_xlabel("2020年1-2月", fontsize=16)
ax1.set_xticklabels(date_list, rotation=30)
ax1.set_ylabel(r"确诊及疑似人数", fontsize=16)
ax1.set_ylim(0, 50000)
ax1.set_ylim(0, 80000)
# 显示网格线和显示图例
plt.grid(which='major', axis='both', color='grey', linestyle='--', alpha=0.2)
plt.legend(loc='upper left', bbox_to_anchor=(0.3,1))
Expand All @@ -44,7 +44,7 @@ def daily_change():
ax2.plot(date_list, everyday_heal, lw=1, ls='--', marker='.', color='green', label='治愈')
# 设置标题刻度
ax2.set_ylabel(r"死亡及治愈人数", fontsize=16)
ax2.set_ylim(0, 400)
ax2.set_ylim(0, 8000)
# 显示网格线和显示图例
plt.grid(which='major', axis='both', color='grey', linestyle='--', alpha=0.2)
plt.legend(loc='upper center')
Expand Down

0 comments on commit e9a285a

Please sign in to comment.