Skip to content

Commit

Permalink
Re-add highlight of pattern in feature maps tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: Håkon Wiik Ånes <hwaanes@gmail.com>
  • Loading branch information
hakonanes committed May 28, 2023
1 parent 1ccf51c commit 563ff5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/tutorials/feature_maps.ipynb
Expand Up @@ -398,13 +398,15 @@
"metadata": {},
"outputs": [],
"source": [
"s.xmap.plot(\n",
"fig = s.xmap.plot(\n",
" adp3.ravel(),\n",
" cmap=\"gray\",\n",
" colorbar=True,\n",
" colorbar_label=\"Average dot product\",\n",
" remove_padding=True,\n",
")"
" return_figure=True\n",
")\n",
"fig.axes[0].scatter(x, y, c=\"r\");"
]
}
],
Expand All @@ -424,7 +426,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.10.11"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 563ff5b

Please sign in to comment.