基本上,当我运行python块时(在Rmd上使用网状结构)。show()将提供一个带有交互式绘图的新浏览器窗口作为输出
我可以将其集成到针织rmd中吗?
py_plot = px.choropleth(data_frame = py_plot_df,
locations= "iso_alpha",
color= "Confirmed", # the value in the variable 'Confirmed' determines the color
hover_name= "Country",
color_continuous_scale="bluyl", # through all the color palettes , the dear old Viridis is also available in python!
animation_frame= "Date")
py_plot.show()
目前没有回答
相关问题 更多 >
编程相关推荐