diff --git a/b_asic/schema.py b/b_asic/schema.py
index 3fd66f58f7afb8ab50675c60f6f3a2d9f6a602d0..378e9dfc196a5fdcc5c11340e66012253817486e 100644
--- a/b_asic/schema.py
+++ b/b_asic/schema.py
@@ -6,6 +6,7 @@ Contains the schema class for scheduling operations in an SFG.
 from collections import defaultdict
 from typing import Dict, List, Optional
 import matplotlib.pyplot as plt
+from matplotlib.ticker import MaxNLocator
 import numpy as np
 from scipy import interpolate
 import sys
@@ -247,6 +248,7 @@ class Schema:
 
         plt.yticks(ytickpositions, yticklabels)
         plt.axis([-1, self._schedule_time+1, 0, ypos])
+        plt.gca().xaxis.set_major_locator(MaxNLocator(integer=True))
         plt.plot([0, 0], [0, ypos], linestyle='--', color='black')
         plt.plot([self._schedule_time, self._schedule_time], [0, ypos], linestyle='--', color='black')
         plt.show()