Skip to content

Commit f2bf4e3

Browse files
authored
DOC better fig raito in sparse example, legend on 5 columns (#111)
1 parent 7622936 commit f2bf4e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/plot_sparse_recovery.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
plt.close('all')
9898
fig, axarr = plt.subplots(2, 1, sharex=True, sharey=False, figsize=[
99-
6.3, 3.7], constrained_layout=True)
99+
6.3, 4], constrained_layout=True)
100100

101101
for idx, estimator in enumerate(penalties.keys()):
102102

@@ -135,6 +135,6 @@
135135
axarr[1].set_ylabel("pred. RMSE left-out")
136136
axarr[0].legend(
137137
bbox_to_anchor=(0, 1.02, 1, 0.2), loc="lower left",
138-
mode="expand", borderaxespad=0, ncol=1)
138+
mode="expand", borderaxespad=0, ncol=5)
139139

140140
plt.show(block=False)

0 commit comments

Comments
 (0)