Skip to content

Plot a list of points #16

@fvisin

Description

@fvisin

It would be great to be able to plot a list of points instead of one single point at the time.
E.g.

from pastalog import Log
log_a = Log('http://localhost:8120', 'modelA')

log_a.post('trainLoss', value=[2.7, 3.1, 1.2, 2.8, 3.7], step=range(5))

This would allow to significantly reduce the number of POST requests, moving the iteration over the data from the user's code to javascript.

I am using pastalog to plot some historical data: I have around 100+ parameters of ~200 points each. With the current code I have to cycle through all the points and plot them one at the time. This is extremely slow, at the point that the plots are rendered several minutes after my plotting script ended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions