Skip to content

Plotly.newPlot should be able to accept frozen objects #1339

Closed
@rgbkrk

Description

@rgbkrk

Much to my surprise, after updating nteract to load initial notebooks as frozen values via Object.freeze (recursively), I noticed the newPlot mutates the data parameter.

Uncaught TypeError: Can't add property uid, object is not extensible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions