Skip to content

Commit

Permalink
Update importance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oualib committed Nov 6, 2024
1 parent 7b4127e commit 20ce34b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions verticapy/plotting/_plotly/machine_learning/importance.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ def draw(
y=self.layout["columns"],
orientation="h",
name="Postive",
marker=dict(
color=self.get_colors()[0],
),
)
)
showlegend = False
Expand All @@ -83,6 +86,9 @@ def draw(
y=self.layout["columns"],
orientation="h",
name="Negative",
marker=dict(
color=self.get_colors()[1],
),
)
)
showlegend = True
Expand Down

0 comments on commit 20ce34b

Please sign in to comment.