Skip to content

Commit

Permalink
Update main.v
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias authored Oct 15, 2023
1 parent 64159f7 commit cbd20b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/plot_basic_heatmap/main.v
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import vsl.plot

z := [[1.0, 0, 30, 50, 1], [20.0, 1, 60, 80, 30], [30.0, 60, 1, -10, 20]]
x := ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday']
// y := ['Morning', 'Afternoon', 'Evening']
y := ['Morning', 'Afternoon', 'Evening']

mut plt := plot.new_plot()

plt.add_trace(
trace_type: .heatmap
x: x
// y_str: y
y: y
z: z
)
plt.set_layout(
Expand Down

0 comments on commit cbd20b6

Please sign in to comment.