diff --git a/doc/conf.py b/doc/conf.py index e51b733e..2d5c3420 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -49,8 +49,10 @@ html_theme_options = { "analytics": {"google_analytics_id": "G-3KL9PSJBZZ"}, "announcement": ( - "Host VoilĂ  and Streamlit apps for free with " - "Ploomber Cloud!" + "Deploy AI apps for free on " + "" + "Ploomber Cloud!" ), "search_bar_text": "Search this book...", "launch_buttons": { diff --git a/src/sklearn_evaluation/plot/regression.py b/src/sklearn_evaluation/plot/regression.py index b038176d..ccda6ce9 100644 --- a/src/sklearn_evaluation/plot/regression.py +++ b/src/sklearn_evaluation/plot/regression.py @@ -204,9 +204,7 @@ def cooks_distance(X, y, ax=None): if ax is None: _, ax = plt.subplots() - _, _, baseline = ax.stem( - distance_, linefmt="C0-", markerfmt=",", use_line_collection=True - ) + _, _, baseline = ax.stem(distance_, linefmt="C0-", markerfmt=",") ax.set_xlim(0, len(distance_))