Skip to content

Temporary templates created when plotting #53

Open
@James-Crean

Description

@James-Crean

When plotting data with vcs-js it looks like temporary templates are being created and are not cleaned up when the websocket is closed. This shows up in vCDAT when plotting some data then refreshing the page. On refresh, vCDAT loads all templates available, which includes the temporary templates created due to plotting.

I believe this may be due to the following line inside of PlotManager.py:

self.dp = self.canvas.plot(*args, ratio="autot")

Specifically, the ratio="autot" part seems to be responsible for creating the template, but there is no code in place to clean it up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions