Closed
Description
Right now in places like https://plot.ly/python/shapes/ we still use go.layout.Shape
in places where this is unnecessary... instead of .add_shape(go.layout.Shape( whatever ))
we can just use .add_shape( whatever )
.
@Mahdis-z please do a search for go.layout.
(note the trailing dot!) and refactor all those instances into either straight dict
s or, in cases of add_shape
above, just remove the intermediate object and pass the kwargs directly. You can't just do a blind search-and-replace though because in certain cases we show the old usage on purpose :)