File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ Choropleth.colorbar = require('../heatmap/colorbar');
1717Choropleth . calc = require ( './calc' ) ;
1818Choropleth . plot = require ( './plot' ) . plot ;
1919
20+ // add dummy hover handler to skip Fx.hover w/o warnings
21+ Choropleth . hoverPoints = function ( ) { } ;
22+
2023Choropleth . moduleType = 'trace' ;
2124Choropleth . name = 'choropleth' ;
2225Choropleth . basePlotModule = require ( '../../plots/geo' ) ;
Original file line number Diff line number Diff line change @@ -59,9 +59,8 @@ plotChoropleth.calcGeoJSON = function(trace, topojson) {
5959} ;
6060
6161plotChoropleth . plot = function ( geo , calcData , geoLayout ) {
62- function keyFunc ( d ) {
63- return d [ 0 ] . trace . uid ;
64- }
62+
63+ function keyFunc ( d ) { return d [ 0 ] . trace . uid ; }
6564
6665 var framework = geo . framework ,
6766 gChoropleth = framework . select ( 'g.choroplethlayer' ) ,
You can’t perform that action at this time.
0 commit comments