Ruff format docstring Python code (#15792)

Signed-off-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-08-25 01:08:07 +08:00 committed by GitHub
parent c1882a4327
commit d27664216b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 370 additions and 374 deletions

View file

@ -117,7 +117,7 @@ To train a YOLOv8 model using JupyterLab:
1. Install JupyterLab and the Ultralytics package:
```python
```bash
pip install jupyterlab ultralytics
```
@ -138,7 +138,8 @@ To train a YOLOv8 model using JupyterLab:
```
5. Visualize training results using JupyterLab's built-in plotting capabilities:
```python
```ipython
%matplotlib inline
from ultralytics.utils.plotting import plot_results
plot_results(results)