You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-18Lines changed: 22 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
# molplotly
2
2
3
-
<!-- TODO tests -->
4
-
5
3
[](https://www.rdkit.org/)
a plotly figure object containing datapoints plotted from df
52
+
a plotly figure object containing datapoints plotted from `df`.
57
53
58
54
-`df` : pandas.DataFrame object\
59
-
a pandas dataframe that contains the data plotted in fig
55
+
a pandas dataframe that contains the data plotted in `fig`.
60
56
-`smiles_col` : str, optional\
61
-
name of the column in df containing the smiles plotted in fig (default 'SMILES')
57
+
name of the column in df containing the smiles plotted in `fig` (default 'SMILES').
62
58
-`show_img` : bool, optional\
63
-
whether or not to generate the molecule image in the dash app (default True)
59
+
whether or not to generate the molecule image in the dash app (default True).
60
+
-`svg_size` : float, optional
61
+
the size in pixels of the molecule drawing (default 200).
62
+
-`alpha` : float, optional\
63
+
the transparency of the hoverbox, 0 for full transparency 1 for full opaqueness (default 0.7).
64
+
-`mol_alpha` : float, optional\
65
+
the transparency of the SVG molecule image, 0 for full transparency 1 for full opaqueness (default 0.7).
64
66
-`title_col` : str, optional\
65
-
name of the column in df to be used as the title entry in the hover box (default None)
67
+
name of the column in df to be used as the title entry in the hover box (default None).
66
68
-`show_coords` : bool, optional\
67
-
whether or not to show the coordinates of the data point in the hover box (default True)
69
+
whether or not to show the coordinates of the data point in the hover box (default True).
68
70
-`caption_cols` : list, optional\
69
-
list of column names in df to be included in the hover box (default None)
71
+
list of column names in df to be included in the hover box (default None).
70
72
-`caption_transform` : dict, optional\
71
-
Functions applied to specific items in all cells. The dict must follow a key: function structure where the key must correspond to one of the columns in subset or tooltip. (default {})
73
+
Functions applied to captions for formatting. The dict must follow a key: function structure where the key must correspond to one of the columns in subset or tooltip (default {}).
72
74
-`color_col` : str, optional\
73
-
name of the column in df that is used to color the datapoints in df - necessary when there is discrete conditional coloring (default None)
75
+
name of the column in df that is used to color the datapoints in df - necessary when there is discrete conditional coloring (default None).
76
+
-`marker_col` : str, optional\
77
+
name of the column in df that is used to determine the marker shape of the datapoints in df (default None).
74
78
-`wrap` : bool, optional\
75
-
whether or not to wrap the title text to multiple lines if the length of the text is too long (default True)
79
+
whether or not to wrap the title text to multiple lines if the length of the text is too long (default True).
76
80
-`wraplen` : int, optional\
77
-
the threshold length of the title text before wrapping begins - adjust when changing the width of the hover box (default 20)
81
+
the threshold length of the title text before wrapping begins - adjust when changing the width of the hover box (default 20).
78
82
-`width` : int, optional\
79
-
the width in pixels of the hover box (default 150)
83
+
the width in pixels of the hover box (default 150).
80
84
-`fontfamily` : str, optional\
81
-
the font family used in the hover box (default 'Arial')
85
+
the font family used in the hover box (default 'Arial').
82
86
-`fontsize` : int, optional\
83
-
the font size used in the hover box - the font of the title line is fontsize+2 (default 12)
87
+
the font size used in the hover box - the font of the title line is fontsize+2 (default 12).
0 commit comments