Skip to content

Commit 5964f5b

Browse files
author
sborms
committed
rotation=45
1 parent 14e5bf2 commit 5964f5b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

cobra/evaluation/pigs_tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def plot_incidence(pig_tables: pd.DataFrame,
170170
ax.set_xlabel('{} bins' ''.format(variable), fontsize=16)
171171
ax.xaxis.set_tick_params(labelsize=14)
172172
plt.setp(ax.get_xticklabels(),
173-
rotation=90, ha="right", rotation_mode="anchor")
173+
rotation=45, ha="right", rotation_mode="anchor")
174174
ax.yaxis.set_tick_params(labelsize=14)
175175

176176
if model_type == "classification":
@@ -211,7 +211,7 @@ def plot_incidence(pig_tables: pd.DataFrame,
211211

212212
# Set labels & ticks
213213
ax2.set_xlabel('{} bins' ''.format(variable), fontsize=16)
214-
ax2.xaxis.set_tick_params(rotation=90, labelsize=14)
214+
ax2.xaxis.set_tick_params(rotation=45, labelsize=14)
215215

216216
ax2.yaxis.set_tick_params(labelsize=14)
217217
ax2.yaxis.set_major_formatter(

tutorials/tutorial_Cobra_linear_regression.ipynb

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)