pyecharts / pyecharts-gallery

Just use pyecharts to imitate Echarts official example.
https://gallery.pyecharts.org
MIT License
1.19k stars 585 forks source link

关于jupyter notebook和jupyter lab渲染结果的差异 #100

Closed wzymwzy closed 4 months ago

wzymwzy commented 1 year ago

https://gallery.pyecharts.org/#/Calendar/calendar_label_setting 就对于这个例子,jupyter lab 设置

daylabel_opts=opts.CalendarDayLabelOpts(name_map="cn"),
monthlabel_opts=opts.CalendarMonthLabelOpts(name_map="cn")

然后这样

c.render_notebook()

是无效的,不显示中文,而jupyter notebook 是可以的。