Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#21009 `ultralytics 8.3.154` Refactor `Validator` and `Metrics` classes

Merged
Ghost merged 1 commits into Ultralytics:main from ultralytics:validator-cleanup
@@ -143,8 +143,11 @@ To train a YOLO11 model using JupyterLab:
 5. Visualize training results using JupyterLab's built-in plotting capabilities:
 5. Visualize training results using JupyterLab's built-in plotting capabilities:
 
 
     ```python
     ```python
-    %matplotlib inline
+    import matplotlib
+
     from ultralytics.utils.plotting import plot_results
     from ultralytics.utils.plotting import plot_results
+
+    matplotlib.use("inline")  # or 'notebook' for interactive
     plot_results(results)
     plot_results(results)
     ```
     ```
 
 
Discard
Tip!

Press p or to see the previous file or, n or to see the next file