plotly可视化绘制多子图(subplots)
# 多子图;
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22from plotly import tools import plotly as py import plotly.graph_objs as go pyplt = py.offline.plot trace1 = go.Scatter(x=[1, 2, 3], y=[4, 5, 6], mode='markers+text+lines', text=['A', 'B', 'C'], # textposition='bottom' ) trace2 = go.Scatter(x=[20, 30, 40],y=[50, 60, 70]) trace3 = go.Scatter(x=[300, 400, 500], y=[600, 700, 800], mode='markers+text+lines', text=['D', 'E', 'F'], # textposition='bottom' ) trace4 = go.Scatter(x=[4000, 5000, 6000], y=[7000, 8000, 9000]) fig = tools.make_subplots(rows=2, cols=2, subplot_tit
最后
以上就是精明外套最近收集整理的关于plotly可视化绘制多子图(subplots)plotly可视化绘制多子图(subplots)的全部内容,更多相关plotly可视化绘制多子图(subplots)plotly可视化绘制多子图(subplots)内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复