Skip to content

Commit

Permalink
MAINT: drop deprecated plot argument
Browse files Browse the repository at this point in the history
Drop `use_line_collection` in first `plt.stem` call.
  • Loading branch information
DerWeh authored Apr 3, 2024
1 parent 5e59875 commit 682d9d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/plot_group_lasso.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@

fig = plt.figure(figsize=(8, 3), constrained_layout=True)
m, s, _ = plt.stem(np.where(w_true)[0], w_true[w_true != 0],
label=r"true regression coefficients",
use_line_collection=True)
label=r"true regression coefficients")
labels = ["LassoCV-estimated regression coefficients",
"GroupLassoCV-estimated regression coefficients"]
colors = [u'#ff7f0e', u'#2ca02c']
Expand Down

0 comments on commit 682d9d8

Please sign in to comment.