Open KhomZ opened 2 years ago
AttributeError Traceback (most recent call last) in () 8 9 # fig.update_layout(width=600, height=500, margin=dict(l=10, r=10, b=10, t=10),xaxis_title='Figure 8 - N2.jpeg with bounding box') ---> 10 fig.layout.update(width=600, height=500, margin=dict(l=10, r=10, b=10, t=10),xaxis_title='Figure 8 - N2.jpeg with bounding box') 11 12 fig.add_shape(type='rect',x0=1804, x1=2493, y0=1734, y1=1882, xref='x', yref='y',line_color='cyan')
AttributeError: 'AxesImage' object has no attribute 'layout'
https://stackoverflow.com/questions/47230817/plotly-notebook-mode-with-google-colaboratory
https://analyticsindiamag.com/how-to-use-plotly-in-colab/
AttributeError Traceback (most recent call last) in ()
8
9 # fig.update_layout(width=600, height=500, margin=dict(l=10, r=10, b=10, t=10),xaxis_title='Figure 8 - N2.jpeg with bounding box')
---> 10 fig.layout.update(width=600, height=500, margin=dict(l=10, r=10, b=10, t=10),xaxis_title='Figure 8 - N2.jpeg with bounding box')
11
12 fig.add_shape(type='rect',x0=1804, x1=2493, y0=1734, y1=1882, xref='x', yref='y',line_color='cyan')
AttributeError: 'AxesImage' object has no attribute 'layout'