Skip to content

Commit c52fded

Browse files
committed
hovermode #8
1 parent b182514 commit c52fded

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
setuptools.setup(
2525
name="tensorboard_plugin_customizable_plots",
26-
version="1.1.2",
26+
version="1.1.3",
2727
description="A plugin for TensorBoard to customize and export Scalar plots",
2828
# packages=["tensorboard_plugin_customizable_plots"],
2929
long_description=long_description,

tensorboard_plugin_customizable_plots/static/libs/config/layout_attributes.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,25 @@ const layoutAttributes = {
10811081
].join(' ')
10821082
},
10831083

1084+
hovermode: {
1085+
valType: 'enumerated',
1086+
values: ['x', 'y', 'closest', false, 'x unified', 'y unified'],
1087+
dflt: 'closest',
1088+
editType: 'modebar',
1089+
description: [
1090+
'Determines the mode of hover interactions.',
1091+
'If *closest*, a single hoverlabel will appear',
1092+
'for the *closest* point within the `hoverdistance`.',
1093+
'If *x* (or *y*), multiple hoverlabels will appear for multiple points',
1094+
'at the *closest* x- (or y-) coordinate within the `hoverdistance`,',
1095+
'with the caveat that no more than one hoverlabel will appear per trace.',
1096+
'If *x unified* (or *y unified*), a single hoverlabel will appear',
1097+
'multiple points at the closest x- (or y-) coordinate within the `hoverdistance`',
1098+
'with the caveat that no more than one hoverlabel will appear per trace.',
1099+
'In this mode, spikelines are enabled by default perpendicular to the specified axis.',
1100+
'If false, hover interactions are disabled.'
1101+
].join(' ')
1102+
},
10841103
//
10851104
colorway: {
10861105
valType: 'colorlist',

0 commit comments

Comments
 (0)