Closed
Description
When creating annotations like below
fig['layout']['annotations'] = go.Annotations([])
for i in list_of_dictionaries:
fig['layout']['annotations'].append(go.Annotation(i))
in the first run of the script, the rendering of the annotations is correct: correct rendering
However, on a second run, with a different list of dictionaries, the new annotations are rendered correctly but without clearing the old annotations duplicate annotations
Isn't go.Annotations([])
suppose to initialize with an empty list?
Am I doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels