Skip to content

Commit 4f57bff

Browse files
committed
fix paths + lint
1 parent c833198 commit 4f57bff

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

devtools/test_dashboard/test-geo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var plotButtons = require('./buttons');
22

3-
var figDir = '../../test/image/baseline/geo_';
3+
var figDir = '../../test/image/baselines/geo_';
44

55
var plots = {};
66

src/plot_api/plot_api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2577,7 +2577,7 @@ function makePlotFramework(gd) {
25772577
/*
25782578
* TODO - find a better place for 3D to initialize axes
25792579
*/
2580-
if(fullLayout._hasGL3D) Plotly.Gl3dAxes.initAxes(gd);
2580+
if(fullLayout._hasGL3D) Plotly.Gl3dLayout.initAxes(gd);
25812581

25822582
// Plot container
25832583
fullLayout._container = gd3.selectAll('.plot-container').data([0]);

src/plot_api/plot_schema.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ var plotSchema = {
2222
};
2323

2424
// FIXME polar attribute are not part of Plotly yet
25-
var polarAreaAttrs = require('../plots/polar/attributes/area'),
26-
polarAxisAttrs = require('../plots/polar/attributes/polaraxes');
25+
var polarAreaAttrs = require('../plots/polar/area_attributes'),
26+
polarAxisAttrs = require('../plots/polar/axis_attributes');
2727

2828
var PlotSchema = module.exports = {};
2929

src/plot_config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
/*
3+
/**
44
* This will be transfered over to gd and overridden by
55
* config args to Plotly.plot.
66
*

src/plots/plots/layout_attributes.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,13 @@ module.exports = {
181181
_composedModules: {
182182
'*': 'Fx'
183183
},
184+
185+
// TODO merge with moduleLayoutDefaults in plots.js
184186
_nestedModules: {
185187
'xaxis': 'Axes',
186188
'yaxis': 'Axes',
187-
'scene': 'Gl3dLayout', // TODO should be Scene
188-
'geo': 'Geo',
189+
'scene': 'Gl3dLayout',
190+
'geo': 'GeoLayout',
189191
'legend': 'Legend',
190192
'annotations': 'Annotations',
191193
'shapes': 'Shapes'

0 commit comments

Comments
 (0)