0
我试图用plotly绘制树状图。我用如下的代码:使用绘图创建树状图
import plotly.plotly as py
import plotly.figure_factory as ff
names = list(result_data['merchant_id'])
dendro = ff.create_dendrogram(new_data,labels=names)
dendro['layout'].update({'width':1400, 'height':600})
plotly.offline.iplot(dendro, filename='simple_dendrogram')
我怎么能指定标题,X标签和y标签上面的情节?
@neha这是否帮助? –