Skip to content

Commit

Permalink
Update trace.v
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias authored Oct 15, 2023
1 parent cbd20b6 commit 8c79311
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plot/trace.v
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pub enum TraceType {
}

type XType = []f64 | []string
type YType = []f64 | []string
type ZType = [][]f64 | []f64

[params]
Expand All @@ -19,7 +20,7 @@ pub mut:
trace_type TraceType [required]
x XType
xbins map[string]f32
y []f64 [omitempty]
y YType [omitempty]
z ZType [omitempty]
values []f64 [omitempty]
labels []string [omitempty]
Expand Down

0 comments on commit 8c79311

Please sign in to comment.