Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] add versionadded notes for v4.0.0 features #5948

Merged
merged 8 commits into from
Jul 6, 2023
Prev Previous commit
one more
  • Loading branch information
jameslamb committed Jul 4, 2023
commit 555f1a9bb693d4c5cd836d6e2ec3463c52f54e3e
3 changes: 3 additions & 0 deletions python-package/lightgbm/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,9 @@ def plot_tree(
example_case : numpy 2-D array, pandas DataFrame or None, optional (default=None)
Single row with the same structure as the training data.
If not None, the plot will highlight the path that sample takes through the tree.

.. versionadded:: 4.0.0

**kwargs
Other parameters passed to ``Digraph`` constructor.
Check https://graphviz.readthedocs.io/en/stable/api.html#digraph for the full list of supported parameters.
Expand Down