import plotly.plotly as plt import plotly.offline as pltoff from plotly.graph_objs import * # 生成折线图 def line_plots(name): dataset = {'x': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'y': [5, 4, 1, 3, 11, 2, 6, 7, 19, 20], 'z': [12, 9, 0, 0, 3, 25, 8, 17, 22, 5]}…