2016-03-29 16 views
1

Ich versuche, ein Subplot mit plotly zu machen, aber es sagt, das Werkzeugmodul hat keine Funktion namens make_subplots, obwohl es besagt, dass here zu tun. Ich bin ziemlich verwirrt.ipython plotly kann keine Unterplots erstellen

from plotly import tools  # functions to help build plotly graphs 
import plotly.plotly as py  # module that communicates with plotly 
from plotly.graph_objs import * 
​ 
fig = tools.make_subplots(rows=23, cols=2) 
fig['layout'].update(height=600, width=600, title='') 
​ 
--------------------------------------------------------------------------- 
AttributeError       Traceback (most recent call last) 
<ipython-input-11-b8fb5b790a40> in <module>() 
     3 from plotly.graph_objs import * 
     4 
----> 5 fig = tools.make_subplots(rows=23, cols=2) 
     6 fig['layout'].update(height=600, width=600, title='') 

AttributeError: 'module' object has no attribute 'make_subplots' 

Antwort

0

Versuchen Sie, Ihre Version von Plotly zu aktualisieren.

Verwandte Themen