Skip to content

Commit

Permalink
bugfix after speedup
Browse files Browse the repository at this point in the history
  • Loading branch information
atra94 committed Jun 29, 2020
1 parent fd09226 commit 6f8428b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym_electric_motor/visualization/motor_dashboard_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def initialize(self, axis):
act_max = self._action_range_max
spacing = (act_max - act_min) * 0.1
self._axis.set_ylim(act_min - spacing, act_max + spacing)
self._axis.set_xlim(0, self.x_width)
self._axis.set_xlim(-self.x_width, 0)
self._axis.set_ylabel(self._action)
base_action_line = lin.Line2D([], [], color=self.action_line_cfg['color'])
self._axis.legend((base_action_line,), (self._action,), loc='upper left')
Expand Down

0 comments on commit 6f8428b

Please sign in to comment.