DOC: bug in user guide after new method
diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index 67cf07a718877..1c83b0d3d048b 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)"
    ]

just updating something that I missed on previous pr when arg name was changed.
