Skip to content

Commit

Permalink
Mapped compatibility calls
Browse files Browse the repository at this point in the history
- There was an issue where the colors passed were 1.0. 

Signed-off-by: Alex Moldovan <a.a.moldovan@gmail.com>
  • Loading branch information
Alex-AMC authored and parrt committed Apr 7, 2023
1 parent 113ec46 commit d42b273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtreeviz/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def dtreeviz(tree_model,
instance_orientation,
show_root_edge_labels, show_node_labels, show_just_path, fancy, histtype, highlight_path, X,
max_X_features_LR, max_X_features_TD, depth_range_to_display, label_fontsize, ticks_fontsize,
fontname, title, title_fontsize, colors, scale)
fontname, title, title_fontsize, colors=colors, scale=scale)


def viz_leaf_samples(tree_model,
Expand Down

0 comments on commit d42b273

Please sign in to comment.