We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 439c253 commit 86c5411Copy full SHA for 86c5411
doc/case_studies/numpy-tooltip-images.rst
@@ -89,7 +89,7 @@ is in the form of an image and render it appropriately.
89
return f"data:image/png;base64,{img_str}"
90
91
# The column with the base64 image string must be called "image" in order for it to trigger the image rendering in the tooltip
92
- df['image'] = df[['image1', 'image2']].map(create_tooltip_image, axis=1)
+ df['image'] = df[['image1', 'image2']].apply(create_tooltip_image, axis=1)
93
94
# Dropping the image arrays since they are large an no longer needed
95
df_plot = df.drop(columns=['image1', 'image2'])
0 commit comments