From f470ad3af98e6632d81596c7241aa294b4a7648f Mon Sep 17 00:00:00 2001 From: Joris LIMONIER Date: Mon, 27 Jun 2022 13:21:58 +0200 Subject: [PATCH] Fix multiple typos (#8028) Fix 4 "graphiz" instead of "graphviz". --- python-package/xgboost/plotting.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-package/xgboost/plotting.py b/python-package/xgboost/plotting.py index 85a8428bc..559578a89 100644 --- a/python-package/xgboost/plotting.py +++ b/python-package/xgboost/plotting.py @@ -150,8 +150,8 @@ def to_graphviz( **kwargs: Any ) -> GraphvizSource: """Convert specified tree to graphviz instance. IPython can automatically plot - the returned graphiz instance. Otherwise, you should call .render() method - of the returned graphiz instance. + the returned graphviz instance. Otherwise, you should call .render() method + of the returned graphviz instance. Parameters ---------- @@ -162,7 +162,7 @@ def to_graphviz( num_trees : int, default 0 Specify the ordinal number of target tree rankdir : str, default "UT" - Passed to graphiz via graph_attr + Passed to graphviz via graph_attr yes_color : str, default '#0000FF' Edge color when meets the node condition. no_color : str, default '#FF0000' @@ -257,7 +257,7 @@ def plot_tree( num_trees : int, default 0 Specify the ordinal number of target tree rankdir : str, default "TB" - Passed to graphiz via graph_attr + Passed to graphviz via graph_attr ax : matplotlib Axes, default None Target axes instance. If None, new figure and axes will be created. kwargs :