@@ -66,7 +66,8 @@ class Plotter:
legend_loc='best',
ylim=(None, None),
xlabel='',
- ylabel=''):
+ ylabel='',
+ xlabel_rotation=0):
"""Plotting method.
Args:
@@ -126,10 +127,12 @@ class Plotter:
plt.yscale('log')
if xlabel != '':
- plt.xlabel(xlabel)
+ plt.xlabel(xlabel, )
if ylabel != '':
plt.ylabel(ylabel)
+
+ plt.xticks(rotation=xlabel_rotation)
if not os.path.exists(FRAME_DIR):
os.makedirs(FRAME_DIR)