Fix multiple typos (#8028)

Fix 4 "graphiz" instead of "graphviz".
This commit is contained in:
Joris LIMONIER 2022-06-27 13:21:58 +02:00 committed by GitHub
parent 45dc1f818a
commit f470ad3af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,8 +150,8 @@ def to_graphviz(
**kwargs: Any **kwargs: Any
) -> GraphvizSource: ) -> GraphvizSource:
"""Convert specified tree to graphviz instance. IPython can automatically plot """Convert specified tree to graphviz instance. IPython can automatically plot
the returned graphiz instance. Otherwise, you should call .render() method the returned graphviz instance. Otherwise, you should call .render() method
of the returned graphiz instance. of the returned graphviz instance.
Parameters Parameters
---------- ----------
@ -162,7 +162,7 @@ def to_graphviz(
num_trees : int, default 0 num_trees : int, default 0
Specify the ordinal number of target tree Specify the ordinal number of target tree
rankdir : str, default "UT" rankdir : str, default "UT"
Passed to graphiz via graph_attr Passed to graphviz via graph_attr
yes_color : str, default '#0000FF' yes_color : str, default '#0000FF'
Edge color when meets the node condition. Edge color when meets the node condition.
no_color : str, default '#FF0000' no_color : str, default '#FF0000'
@ -257,7 +257,7 @@ def plot_tree(
num_trees : int, default 0 num_trees : int, default 0
Specify the ordinal number of target tree Specify the ordinal number of target tree
rankdir : str, default "TB" rankdir : str, default "TB"
Passed to graphiz via graph_attr Passed to graphviz via graph_attr
ax : matplotlib Axes, default None ax : matplotlib Axes, default None
Target axes instance. If None, new figure and axes will be created. Target axes instance. If None, new figure and axes will be created.
kwargs : kwargs :