Skip to content

Commit

Permalink
rescale tracking view
Browse files Browse the repository at this point in the history
  • Loading branch information
denniszollo committed Aug 6, 2015
1 parent 9370053 commit cbc05b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion piksi_tools/console/tracking_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ def __init__(self, link):
self.plot = Plot(self.plot_data, auto_colors=colours_list, emphasized=True)
self.plot.title = 'Tracking C/N0'
self.plot.title_color = [0,0,0.43]
self.plot.value_range.margin = 0.1
self.ylim = self.plot.value_mapper.range
self.ylim.low = 25
self.ylim.high = 60
self.plot.value_range.bounds_func = lambda l, h, m, tb: (0, h*(1+m))
self.plot.value_axis.orientation = 'right'
self.plot.value_axis.axis_line_visible = False
Expand Down

0 comments on commit cbc05b5

Please sign in to comment.