-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python] Add type hints to python-package/lightgbm/plotting.py (#4367)
* Change to f-strings in test_plotting.py * Implemented type hinting in python-package/lightgbm/plotting.py * Apply suggestions from code review Co-authored-by: James Lamb <[email protected]> * Update python-package/lightgbm/plotting.py Co-authored-by: James Lamb <[email protected]> * Delete test_plotting.py File was mistakenly added to pull request * Revert "Delete test_plotting.py" This reverts commit df095b6. * default argument * Apply suggestions from code review Co-authored-by: James Lamb <[email protected]> * Removed errant bracket * Update python-package/lightgbm/plotting.py * Apply suggestions from code review Co-authored-by: Nikita Titov <[email protected]> * Fixing tuples from ints to floats * Apply suggestions from code review Co-authored-by: Nikita Titov <[email protected]> * Update python-package/lightgbm/plotting.py Co-authored-by: Nikita Titov <[email protected]> Co-authored-by: James Lamb <[email protected]> Co-authored-by: Nikita Titov <[email protected]>
- Loading branch information
1 parent
45ac271
commit bb39bc9
Showing
1 changed file
with
79 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters