Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T trappy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tooling
  • trappy
  • Issues
  • #79
Closed
Open
Created Nov 27, 2015 by Darryl Green@Darryl.GreenOwner

[FEATURE] LinePlotter: add "event:colum" based specification of signals to plot

Created by: derkling

Now that we have synchronized events name with dataset names, it could be useful to simplify the LinePlot interface by adding a new way to specify "templates" and "columns".

A new parameter "events" should accept a list of "event:column" specifications, e.g.

signals_to_plot = ['my_event1:col1_1', 'my_event2:col2_1', 'my_event2:col2_2']
trappy.LinePlot(run, events=signals_to_plot)

This new single parameter can be "expanded" internally to get the same behaviours of the current API, which requires:

templates = [run.my_event1,  run.my_event2, ,  run.my_event2]
column = ['col1_1', 'col1_1', 'col1_2']
trappy.LinePlot(run, templates, column=column)
Assignee
Assign to
Time tracking