Hi All,
I have a python notebook script last successful run 15 days ago. The scripts weren’t change at all but failed today due to the following error happened in the go.Layout. It was very weird error never happened before. Can you please help? Thank you very much.
#layout of plot
layout = go.Layout(
title = 'Plot Title',
titlefont=dict(
size=title_font_size,
color='#000000'
),
xaxis = dict(
title = 'x title',
type='log',
autorange=True,
titlefont=dict(
size=axis_font_size,
color='#000000'
),
tickfont=dict(
size=tick_font_size,
color='#000000'
)
),
yaxis = dict(
title = 'y title',
range = [0, 100],
type='log',
autorange=True,
titlefont=dict(
size=axis_font_size,
color='#000000'
),
tickfont=dict(
size=tick_font_size,
color='#000000'
)
),
legend=dict(
font=dict(
size=legend_size,
color='#000'
)
),
)
The error message was:
PlotlyDictValueError: ‘title’ has invalid value inside ‘yaxis’
Path To Error: [‘yaxis’][‘title’]
Current path: [‘yaxis’]
Current parent object_names: [‘layout’]
With the current parents, ‘title’ can be used as follows:
Under (‘figure’, ‘layout’, ‘scene’, ‘yaxis’):
editType: plot
role: object
Under (‘figure’, ‘layout’, ‘yaxis’):
editType: ticks
role: object
Python version: 2.7.12 (under both Ubuntu and Windows 10 have same error)