diff --git a/docs/cookbooks/OutlierDetection.rst b/docs/cookbooks/OutlierDetection.rst
index f3caa8fb878ba3f69a46bc21e2451afc44bae31e..8d288203a63ed591cf71cd3ef4faf152fc6d57b9 100644
--- a/docs/cookbooks/OutlierDetection.rst
+++ b/docs/cookbooks/OutlierDetection.rst
@@ -273,7 +273,7 @@ To see all the results obtained so far, plotted in one figure window, we make us
 .. doctest:: exampleOD
 
    >>> data.to_df().plot()
-   <AxesSubplot:>
+   <AxesSubplot: >
 
 .. plot::
    :context: