Skip to content

Commit

Permalink
Added grid to GUI plots
Browse files Browse the repository at this point in the history
  • Loading branch information
Callidior committed Mar 21, 2017
1 parent 7d896d7 commit b11595f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maxdiv/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,8 @@ def updatePlot(self):
plots[0].set_xlim(self.timesteps[0], self.timesteps[-1])
else:
plots[0].set_xlim(self.timesteps[self._xlim[0]], self.timesteps[self._xlim[1]])
for plt in plots:
plt.grid()

# Plot detections
if len(self.detections) > 0:
Expand Down

0 comments on commit b11595f

Please sign in to comment.