Closed abought closed 6 years ago
References #124 and https://github.com/statgen/pheweb/compare/8cdb7...pull-112-head#diff-007e08bf75bfe53b85b14034803e369c
Expand suggestions by @pjvandehaar and incorporate into core codebase:
tooltip_positioning
top
bottom
middle
The effect of each position option can very quickly be tried in the console:
plot.panels["annotationcatalog"].data_layers["annotation_catalog"].layout.tooltip_positioning = 'bottom'
The separate <g>s aren’t needed. Perhaps the code would be clearer without them.
<g>
References #124 and https://github.com/statgen/pheweb/compare/8cdb7...pull-112-head#diff-007e08bf75bfe53b85b14034803e369c
Expand suggestions by @pjvandehaar and incorporate into core codebase:
tooltip_positioning
option for annotation track. Supports two fixed positions (top
andbottom
) and one dynamic option (middle
).How to test this
The effect of each position option can very quickly be tried in the console:
plot.panels["annotationcatalog"].data_layers["annotation_catalog"].layout.tooltip_positioning = 'bottom'
Alternatives considered