Skip to content

Commit 7e41625

Browse files
committed
Removed reference to Plotly
1 parent dca7314 commit 7e41625

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/traces/scattergeo/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99

1010
'use strict';
1111

12-
var Plotly = require('../../plotly');
12+
var Plots = require('../../plots/plots');
13+
var Scatter = require('../scatter');
1314

1415
var ScatterGeo = module.exports = {};
1516

16-
Plotly.Plots.register(ScatterGeo, 'scattergeo',
17+
Plots.register(ScatterGeo, 'scattergeo',
1718
['geo', 'symbols', 'markerColorscale', 'showLegend'], {
1819
hrName: 'scatter_geo',
1920
description: [
@@ -28,10 +29,10 @@ ScatterGeo.attributes = require('./attributes');
2829

2930
ScatterGeo.supplyDefaults = require('./defaults');
3031

31-
ScatterGeo.colorbar = Plotly.Scatter.colorbar;
32+
ScatterGeo.colorbar = Scatter.colorbar;
3233

3334
ScatterGeo.calc = function(gd, trace) {
3435

35-
Plotly.Scatter.calcMarkerColorscales(trace);
36+
Scatter.calcMarkerColorscales(trace);
3637

3738
};

0 commit comments

Comments
 (0)