{"repo":"wjm41/molplotly","free":true,"listed":false,"github":"https://github.com/wjm41/molplotly","clone":"git clone https://github.com/wjm41/molplotly.git","description":"add-on to plotly which show molecule images on mouseover!","language":"Python","stars":263,"topics":["plotly-dash","data-visualization","rdkit","cheminformatics","molecule-viewer"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"molplotly molplotly is an add-on to plotly built on RDKit which allows 2D images of molecules to be shown in plotly figures when hovering over the data points. A readable walkthrough of how to use the package together with some useful examples can be found in this blog post while a runnable notebook can be found in examples/simple usage and formatting.ipynb :) Installation Usage Input parameters name type default description :------------------ :---------- :--------- :-------------------------------------------------------------------------------------------------------------------------------------------------------------------- fig figure required a plotly figure object containing datapoints plotted from df . df DataFrame required a pandas dataframe that contains the data plotted in fig . smiles col str 'SMILES' name of the column in df containing the smiles plotted in fig show img bool True whether or not to generate the molecule image in the dash app svg size float 200 the size in pixels of the molecule drawing alpha float 0.7 the transparency of the hoverbox, 0 for full transparency 1 for full opaqueness mol alpha float 0.7 the transparency of the SVG molecule image, 0 for full transparency 1 for full opaqueness title col str None name of the column in df to be used as the title entry in the hover box show coords bool True whether or not to show the coordinates of the data point in the hover box caption cols list None list of column names in df to be included in the hove","default_branch":null,"files":null,"tree":[],"storefront":"/r/wjm41","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wjm41/molplotly/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}