wjm41 / molplotly

add-on to plotly which show molecule images on mouseover!
Apache License 2.0
237 stars 25 forks source link

Fix error preventing tooltip from showing #24

Closed hfswetton closed 1 year ago

hfswetton commented 1 year ago

Fix for #23 - prevents "Callback error" when hovering over molecules due to df_row[title_col] directly returning a string with no astype() method.

In case the same error is occuring for anybody else, this would seem to fix it - however, if the problem is specific to my device, please disregard.