Repository: probabl-ai/skore

Issue:
Estimator Report in regression: plot doesn't display correctly
### Describe the bug

The prediction_error plot doesn't display correctly in some cases.  

### Steps/Code to Reproduce

```python
from sklearn.datasets import make_regression
from sklearn.linear_model import LinearRegression
from skore import EstimatorReport, ComparisonReport

X, y = make_regression(n_targets=2)
estimator = LinearRegression()
report_reg = EstimatorReport(estimator, X_train=X, y_train=y, X_test=X, y_test=y)

comp_reg = ComparisonReport(reports=[report_reg, report_reg], n_jobs = -1)
comp_reg.metrics.plot.prediction_error()
```


### Expected Behavior

- we should see the whole axis
- as much as possible, the legend shouldn't overlap the axis

### Actual Behavior

![Image](https://github.com/user-attachments/assets/1278a3ab-8a0d-4bea-8dbd-34cd9f532e2a)

### Environment

```shell
System:
    python: 3.12.8 | packaged by Anaconda, Inc. | (main, Dec 11 2024, 16:31:09) [GCC 11.2.0]
executable: /home/marie/anaconda3/envs/skore_test/bin/python
   machine: Linux-6.8.0-52-generic-x86_64-with-glibc2.35

Python dependencies:
        skore: 0.0.0+unknown
          pip: 24.2
   setuptools: 75.1.0
    diskcache: 5.6.3
      fastapi: 0.115.6
       joblib: 1.4.2
   matplotlib: 3.9.3
        numpy: 2.2.0
       orjson: 3.10.15
       pandas: 2.2.3
 platformdirs: 4.3.6
       plotly: 5.24.1
       psutil: 5.9.0
      pyarrow: 18.1.0
         rich: 13.9.4
 scikit-learn: 1.6.0
        skops: 0.11.0
      uvicorn: 0.32.1

Current version of the branch comparator (as of Feb 6th morning), this piece of skore code corresponds to skore 0.6.1.
```

Discussion:
github-actions[bot]: <!-- Pytest Coverage Comment: display-backend-coverage -->
<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/README.md"><img alt="Coverage" src="https://img.shields.io/badge/Coverage-86%25-green.svg" /></a><details><summary>Coverage Report for backend </summary><table><tr><th>File</th><th>Stmts</th><th>Miss</th><th>Cover</th><th>Missing</th></tr><tbody><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/__init__.py">\_\_init\_\_.py</a></td><td>14</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/__main__.py">\_\_main\_\_.py</a></td><td>8</td><td>8</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/__main__.py#L3-L19">3&ndash;19</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/exceptions.py">exceptions.py</a></td><td>4</td><td>4</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/exceptions.py#L4-L23">4&ndash;23</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/cli</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/cli/__init__.py">\_\_init\_\_.py</a></td><td>5</td><td>5</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/cli/__init__.py#L3-L8">3&ndash;8</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/cli/cli.py">cli.py</a></td><td>22</td><td>22</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/cli/cli.py#L3-L70">3&ndash;70</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/cli/color_format.py">color_format.py</a></td><td>49</td><td>49</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/cli/color_format.py#L3-L116">3&ndash;116</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/persistence</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/__init__.py">\_\_init\_\_.py</a></td><td>0</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/persistence/item</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/__init__.py">\_\_init\_\_.py</a></td><td>56</td><td>3</td><td>93%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/__init__.py#L96-L99">96&ndash;99</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/altair_chart_item.py">altair_chart_item.py</a></td><td>19</td><td>1</td><td>91%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/altair_chart_item.py#L14">14</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/item.py">item.py</a></td><td>22</td><td>1</td><td>95%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/item.py#L86">86</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/matplotlib_figure_item.py">matplotlib_figure_item.py</a></td><td>36</td><td>1</td><td>95%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/matplotlib_figure_item.py#L19">19</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/media_item.py">media_item.py</a></td><td>22</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/numpy_array_item.py">numpy_array_item.py</a></td><td>27</td><td>1</td><td>94%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/numpy_array_item.py#L16">16</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/pandas_dataframe_item.py">pandas_dataframe_item.py</a></td><td>29</td><td>1</td><td>94%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/pandas_dataframe_item.py#L14">14</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/pandas_series_item.py">pandas_series_item.py</a></td><td>29</td><td>1</td><td>94%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/pandas_series_item.py#L14">14</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/pickle_item.py">pickle_item.py</a></td><td>22</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/pillow_image_item.py">pillow_image_item.py</a></td><td>25</td><td>1</td><td>93%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/pillow_image_item.py#L15">15</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/plotly_figure_item.py">plotly_figure_item.py</a></td><td>20</td><td>1</td><td>92%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/plotly_figure_item.py#L14">14</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/polars_dataframe_item.py">polars_dataframe_item.py</a></td><td>27</td><td>1</td><td>94%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/polars_dataframe_item.py#L14">14</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/polars_series_item.py">polars_series_item.py</a></td><td>22</td><td>1</td><td>92%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/polars_series_item.py#L14">14</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/primitive_item.py">primitive_item.py</a></td><td>23</td><td>2</td><td>91%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/primitive_item.py#L13-L15">13&ndash;15</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/sklearn_base_estimator_item.py">sklearn_base_estimator_item.py</a></td><td>29</td><td>1</td><td>94%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/sklearn_base_estimator_item.py#L15">15</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/skrub_table_report_item.py">skrub_table_report_item.py</a></td><td>10</td><td>1</td><td>86%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/item/skrub_table_report_item.py#L11">11</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/persistence/repository</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/repository/__init__.py">\_\_init\_\_.py</a></td><td>2</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/repository/item_repository.py">item_repository.py</a></td><td>59</td><td>5</td><td>91%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/repository/item_repository.py#L15-L16">15&ndash;16</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/repository/item_repository.py#L202-L203">202&ndash;203</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/repository/item_repository.py#L226">226</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/persistence/storage</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/storage/__init__.py">\_\_init\_\_.py</a></td><td>4</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/storage/abstract_storage.py">abstract_storage.py</a></td><td>22</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/storage/disk_cache_storage.py">disk_cache_storage.py</a></td><td>33</td><td>1</td><td>95%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/storage/disk_cache_storage.py#L44">44</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/storage/in_memory_storage.py">in_memory_storage.py</a></td><td>20</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/persistence/view</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/view/__init__.py">\_\_init\_\_.py</a></td><td>2</td><td>2</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/view/__init__.py#L3-L5">3&ndash;5</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/view/view.py">view.py</a></td><td>5</td><td>5</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/persistence/view/view.py#L3-L20">3&ndash;20</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/project</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/project/__init__.py">\_\_init\_\_.py</a></td><td>3</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/project/_launch.py">_launch.py</a></td><td>150</td><td>1</td><td>99%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/project/_launch.py#L278">278</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/project/_open.py">_open.py</a></td><td>9</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/project/project.py">project.py</a></td><td>62</td><td>1</td><td>99%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/project/project.py#L234">234</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/sklearn</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/__init__.py">\_\_init\_\_.py</a></td><td>4</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py">_base.py</a></td><td>140</td><td>14</td><td>90%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py#L36">36</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py#L48">48</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py#L58">58</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py#L91">91</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py#L94">94</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py#L147-L156">147&ndash;156</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py#L168-L>173">168&ndash;>173</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_base.py#L183-L184">183&ndash;184</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/find_ml_task.py">find_ml_task.py</a></td><td>49</td><td>1</td><td>97%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/find_ml_task.py#L103-L>111">103&ndash;>111</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/find_ml_task.py#L135">135</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/types.py">types.py</a></td><td>2</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/sklearn/_cross_validation</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_cross_validation/__init__.py">\_\_init\_\_.py</a></td><td>5</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_cross_validation/metrics_accessor.py">metrics_accessor.py</a></td><td>140</td><td>0</td><td>99%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_cross_validation/metrics_accessor.py#L128-L>139">128&ndash;>139</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_cross_validation/report.py">report.py</a></td><td>95</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/sklearn/_estimator</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/__init__.py">\_\_init\_\_.py</a></td><td>5</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py">metrics_accessor.py</a></td><td>255</td><td>9</td><td>95%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py#L148-L157">148&ndash;157</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py#L182-L>191">182&ndash;>191</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py#L190">190</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py#L230-L>232">230&ndash;>232</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py#L256">256</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py#L283-L287">283&ndash;287</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py#L302">302</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/metrics_accessor.py#L320">320</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/report.py">report.py</a></td><td>120</td><td>0</td><td>99%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/report.py#L213-L>219">213&ndash;>219</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/report.py#L221-L>223">221&ndash;>223</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/utils.py">utils.py</a></td><td>11</td><td>11</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_estimator/utils.py#L1-L19">1&ndash;19</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/sklearn/_plot</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/__init__.py">\_\_init\_\_.py</a></td><td>4</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/precision_recall_curve.py">precision_recall_curve.py</a></td><td>119</td><td>1</td><td>98%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/precision_recall_curve.py#L229-L>246">229&ndash;>246</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/precision_recall_curve.py#L317">317</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/prediction_error.py">prediction_error.py</a></td><td>95</td><td>1</td><td>98%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/prediction_error.py#L159">159</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/prediction_error.py#L173-L>176">173&ndash;>176</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/roc_curve.py">roc_curve.py</a></td><td>126</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/utils.py">utils.py</a></td><td>89</td><td>5</td><td>93%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/utils.py#L23">23</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/utils.py#L47-L49">47&ndash;49</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/_plot/utils.py#L53">53</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/sklearn/train_test_split</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/__init__.py">\_\_init\_\_.py</a></td><td>0</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/train_test_split.py">train_test_split.py</a></td><td>36</td><td>2</td><td>94%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/train_test_split.py#L16-L17">16&ndash;17</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/__init__.py">\_\_init\_\_.py</a></td><td>8</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/high_class_imbalance_too_few_examples_warning.py">high_class_imbalance_too_few_examples_warning.py</a></td><td>17</td><td>3</td><td>78%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/high_class_imbalance_too_few_examples_warning.py#L16-L18">16&ndash;18</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/high_class_imbalance_too_few_examples_warning.py#L80">80</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/high_class_imbalance_warning.py">high_class_imbalance_warning.py</a></td><td>18</td><td>2</td><td>88%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/high_class_imbalance_warning.py#L16-L18">16&ndash;18</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/random_state_unset_warning.py">random_state_unset_warning.py</a></td><td>11</td><td>1</td><td>87%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/random_state_unset_warning.py#L15">15</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/shuffle_true_warning.py">shuffle_true_warning.py</a></td><td>9</td><td>0</td><td>91%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/shuffle_true_warning.py#L44-L>exit">44&ndash;>exit</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/stratify_is_set_warning.py">stratify_is_set_warning.py</a></td><td>11</td><td>1</td><td>87%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/stratify_is_set_warning.py#L15">15</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/time_based_column_warning.py">time_based_column_warning.py</a></td><td>22</td><td>1</td><td>89%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/time_based_column_warning.py#L17">17</a>, <a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/time_based_column_warning.py#L69-L>exit">69&ndash;>exit</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/train_test_split_warning.py">train_test_split_warning.py</a></td><td>5</td><td>1</td><td>80%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning/train_test_split_warning.py#L21">21</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/ui</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/__init__.py">\_\_init\_\_.py</a></td><td>0</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/app.py">app.py</a></td><td>32</td><td>32</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/app.py#L3-L83">3&ndash;83</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/dependencies.py">dependencies.py</a></td><td>4</td><td>4</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/dependencies.py#L3-L10">3&ndash;10</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/project_routes.py">project_routes.py</a></td><td>41</td><td>41</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/project_routes.py#L3-L92">3&ndash;92</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/serializers.py">serializers.py</a></td><td>77</td><td>77</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/serializers.py#L3-L194">3&ndash;194</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/server.py">server.py</a></td><td>17</td><td>17</td><td>0%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/ui/server.py#L3-L40">3&ndash;40</a></td></tr><tr><td colspan="5"><b>venv/lib/python3.12/site-packages/skore/utils</b></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/__init__.py">\_\_init\_\_.py</a></td><td>6</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_accessor.py">_accessor.py</a></td><td>7</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_environment.py">_environment.py</a></td><td>26</td><td>0</td><td>97%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_environment.py#L29-L>34">29&ndash;>34</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_logger.py">_logger.py</a></td><td>21</td><td>4</td><td>84%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_logger.py#L14-L18">14&ndash;18</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_patch.py">_patch.py</a></td><td>11</td><td>5</td><td>46%</td><td><a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_patch.py#L19-L35">19&ndash;35</a></td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_progress_bar.py">_progress_bar.py</a></td><td>30</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td>&nbsp; &nbsp;<a href="https://github.com/probabl-ai/skore/blob/7cc680c4c7f96d0743d9092df098e831b058785b/venv/lib/python3.12/site-packages/skore/utils/_show_versions.py">_show_versions.py</a></td><td>31</td><td>0</td><td>100%</td><td>&nbsp;</td></tr><tr><td><b>TOTAL</b></td><td><b>2590</b></td><td><b>353</b></td><td><b>86%</b></td><td>&nbsp;</td></tr></tbody></table></details>

| Tests | Skipped | Failures | Errors | Time |
| ----- | ------- | -------- | -------- | ------------------ |
| 542 | 3 :zzz: | 0 :x: | 0 :fire: | 53.330s :stopwatch: |

github-actions[bot]: [Documentation preview](https://skoredoc.k.probabl.dev/1335) @ 7cc680c4c7f96d0743d9092df098e831b058785b
<!-- Sticky Pull Request Commentdocumentation-preview -->

Fix (patch):
diff --git a/skore/src/skore/sklearn/_plot/prediction_error.py b/skore/src/skore/sklearn/_plot/prediction_error.py
index a859b9e..bc7ce67 100644
--- a/skore/src/skore/sklearn/_plot/prediction_error.py
+++ b/skore/src/skore/sklearn/_plot/prediction_error.py
@@ -259,7 +259,6 @@ class PredictionErrorDisplay(HelpDisplayMixin):
         else:
             self.line_ = ax.plot(x_range_perfect_pred, [0, 0], **perfect_line_kwargs)[0]
             ax.set(
-                aspect="equal",
                 xlim=x_range_perfect_pred,
                 ylim=y_range_perfect_pred,
                 xticks=np.linspace(


Test changes:
diff --git a/skore/tests/unit/sklearn/plot/test_prediction_error.py b/skore/tests/unit/sklearn/plot/test_prediction_error.py
index 5f52883..7601c75 100644
--- a/skore/tests/unit/sklearn/plot/test_prediction_error.py
+++ b/skore/tests/unit/sklearn/plot/test_prediction_error.py
@@ -73,6 +73,8 @@ def test_prediction_error_display_regression(pyplot, regression_data, subsample)
     assert display.ax_.get_xlabel() == "Predicted values"
     assert display.ax_.get_ylabel() == "Residuals (actual - predicted)"
 
+    assert display.ax_.get_aspect() not in ("equal", 1.0)
+
 
 def test_prediction_error_cross_validation_display_regression(
     pyplot, regression_data_no_split
@@ -105,6 +107,8 @@ def test_prediction_error_cross_validation_display_regression(
     assert display.ax_.get_xlabel() == "Predicted values"
     assert display.ax_.get_ylabel() == "Residuals (actual - predicted)"
 
+    assert display.ax_.get_aspect() not in ("equal", 1.0)
+
 
 def test_prediction_error_display_regression_kind(pyplot, regression_data):
     """Check the attributes when switching to the "actual_vs_predicted" kind."""
@@ -164,6 +168,8 @@ def test_prediction_error_cross_validation_display_regression_kind(
     assert display.ax_.get_xlabel() == "Predicted values"
     assert display.ax_.get_ylabel() == "Actual values"
 
+    assert display.ax_.get_aspect() in ("equal", 1.0)
+
 
 def test_prediction_error_display_data_source(pyplot, regression_data):
     """Check that we can pass the `data_source` argument to the prediction error