Skip to content

Commit 1359307

Browse files
committed
fixup choroplethmapbox hover content post-#3968
1 parent a457722 commit 1359307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/fx/hover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ function createHoverText(hoverData, opts, gd) {
897897
if(d.zLabel !== undefined) {
898898
if(d.xLabel !== undefined) text += 'x: ' + d.xLabel + '<br>';
899899
if(d.yLabel !== undefined) text += 'y: ' + d.yLabel + '<br>';
900-
if(d.trace.type !== 'choropleth') {
900+
if(d.trace.type !== 'choropleth' && d.trace.type !== 'choroplethmapbox') {
901901
text += (text ? 'z: ' : '') + d.zLabel;
902902
}
903903
} else if(showCommonLabel && d[hovermode + 'Label'] === t0) {

0 commit comments

Comments
 (0)