ModelOriented / ModelOriented/DALEX

plot.model_performance {DALEX} gives a warning related to the size of element_line() related to ggplot2

Open
#576 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug 💣 R 🐳 short term ⏰
Dominant language
Python
Stars
1.5k
Forks
172
PR merge metrics
No merged PRs in 30d

Description

When trying to plot a model performance I get the following warning and the line is not displayed:

Warning: The size argument of element_line() is deprecated as of
ggplot2 3.4.0.
ℹ Please use the linewidth argument instead.
ℹ The deprecated feature was likely used in the DALEX
package.
Please report the issue at
https://github.com/ModelOriented/DALEX/issues.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this
warning was generated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing the DALEX model-performance plotting entry point and use the reported ggplot2 warning to locate the deprecated element_line() usage; done means the warning is gone and the line is displayed when plotting model performance.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.