You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python3.7/site-packages/plotly/basedatatypes.py", line 3021, in update
BaseFigure._perform_update(self, kwargs)
File "/usr/local/lib/python3.7/site-packages/plotly/basedatatypes.py", line 2249, in _perform_update
validator = plotly_obj._get_prop_validator(key)
File "/usr/local/lib/python3.7/site-packages/plotly/basedatatypes.py", line 3706, in _get_prop_validator
return super(BaseLayoutHierarchyType, self)._get_prop_validator(prop)
File "/usr/local/lib/python3.7/site-packages/plotly/basedatatypes.py", line 2622, in _get_prop_validator
return self._validators[prop]
KeyError: 'titlefont'
Error seems to be at this line size=18
Is this a bug or do i have to change the way i set the title font?
Thanks for taking the time to report this. It looks like a backwards compatibility oversight from the port to plotly.js 1.43 (#1376) that was released in plotly.py 3.5.0. Here's a minimal reproducible example:
For some context, plotly.js rearranged the title* properties in version 1.43.0 and moved them under the corresponding title object. So to update the title text and font using the structure in plotly.js 1.43.0 you would do this:
This code worked fine until i updated to
plotly
3.5.0But since 3.5.0 i get
Error seems to be at this line
size=18
Is this a bug or do i have to change the way i set the title font?
Here is a bit more context if needed
EDIT: Actually, i'm not sure if this is only an issue in 3.5.0 since i realized that i previously used 3.3.0
The text was updated successfully, but these errors were encountered: