Skip to content

Commit 32502fe

Browse files
committed
hotfix - fontsize xlabel comparison plot
1 parent 6d0bd2c commit 32502fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csep/utils/plots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,9 +1382,9 @@ def plot_comparison_test(results_t, results_w=None, axes=None, plot_args=None):
13821382
facecolor = 'white'
13831383
ax.plot(index, result_t.observed_statistic, marker='o', markerfacecolor=facecolor, markeredgecolor=color, markersize=markersize)
13841384

1385-
ax.set_xticklabels([res.sim_name[0] for res in results_t], rotation=xticklabels_rotation)
1385+
ax.set_xticklabels([res.sim_name[0] for res in results_t], rotation=xticklabels_rotation, fontsize=xlabel_fontsize)
13861386
ax.set_xticks(numpy.arange(len(results_t)))
1387-
ax.set_xlabel(xlabel, fontsize=xlabel_fontsize)
1387+
ax.set_xlabel(xlabel)
13881388
ax.set_ylabel(ylabel, fontsize=ylabel_fontsize)
13891389
ax.set_title(title)
13901390
ax.yaxis.grid()

0 commit comments

Comments
 (0)