Skip to content

Commit

Permalink
Manual regression tests: Fix plot labels (#371)
Browse files Browse the repository at this point in the history
Baseline and local were switched
also fix syntax of legend label
  • Loading branch information
bjonkman authored and rafmudaf committed Dec 18, 2019
1 parent 2ff0fb1 commit 5a8dfc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reg_tests/lib/errorPlotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def _plotError(xseries, y1series, y2series, xlabel, title1, title2):
p1.title.align = 'center'
p1.grid.grid_line_alpha=0.3
p1.xaxis.axis_label = 'Time (s)'
p1.line(xseries, y1series, color='green', line_width=3, legend='Baseline')
p1.line(xseries, y2series, color='red', line_width=1, legend_label='Local')
p1.line(xseries, y2series, color='green', line_width=3, legend_label='Baseline')
p1.line(xseries, y1series, color='red', line_width=1, legend_label='Local')
p1.add_tools(HoverTool(tooltips=[('Time','$x'), ('Value', '$y')],mode='vline'))

p2 = figure(title=title2, x_range=p1.x_range)
Expand Down

0 comments on commit 5a8dfc0

Please sign in to comment.