From 7eebea8377e6ef7b8f6d74d02227d1a62b5d6495 Mon Sep 17 00:00:00 2001 From: "JHM Darbyshire (iMac)" Date: Mon, 11 Oct 2021 18:09:52 +0200 Subject: [PATCH 1/2] doc: bug on changed arg --- doc/source/user_guide/style.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb index 67cf07a718877..f46f3c2ceeeeb 100644 --- a/doc/source/user_guide/style.ipynb +++ b/doc/source/user_guide/style.ipynb @@ -1288,7 +1288,7 @@ "outputs": [], "source": [ "df2.style.format('{:.3f}', na_rep=\"\")\\\n", - " .bar(align=0, vmin=-2.5, vmax=2.5, color=mpl.cm.get_cmap(\"bwr\"), height=50,\n", + " .bar(align=0, vmin=-2.5, vmax=2.5, cmap=\"bwr\", height=50,\n", " width=60, props=\"width: 120px; border-right: 1px solid black;\")\\\n", " .text_gradient(cmap=\"bwr\", vmin=-2.5, vmax=2.5)" ] @@ -2020,7 +2020,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, From b830b21a05a3b62d5b62e9634530377cefce7a1a Mon Sep 17 00:00:00 2001 From: JHM Darbyshire <24256554+attack68@users.noreply.github.com> Date: Mon, 11 Oct 2021 18:11:53 +0200 Subject: [PATCH 2/2] Update doc/source/user_guide/style.ipynb --- doc/source/user_guide/style.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb index f46f3c2ceeeeb..1c83b0d3d048b 100644 --- a/doc/source/user_guide/style.ipynb +++ b/doc/source/user_guide/style.ipynb @@ -2020,7 +2020,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3", "language": "python", "name": "python3" },