Skip to content

Commit f1d4490

Browse files
committed
Change require to new path for attributes
1 parent 970abc2 commit f1d4490

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/annotations/attributes.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
'use strict';
1010

11-
var Plotly = require('../../plotly');
1211
var ARROWPATHS = require('./arrow_paths');
12+
var Cartesian = require('../../plots/cartesian');
1313
var fontAttrs = require('../../plots/font_attributes');
1414
var extendFlat = require('../../lib/extend').extendFlat;
1515

@@ -156,7 +156,7 @@ module.exports = {
156156
valType: 'enumerated',
157157
values: [
158158
'paper',
159-
Plotly.Plots.subplotsRegistry.cartesian.idRegex.x.toString()
159+
Cartesian.idRegex.x.toString()
160160
],
161161
role: 'info',
162162
description: [
@@ -199,7 +199,7 @@ module.exports = {
199199
valType: 'enumerated',
200200
values: [
201201
'paper',
202-
Plotly.Plots.subplotsRegistry.cartesian.idRegex.y.toString()
202+
Cartesian.idRegex.y.toString()
203203
],
204204
role: 'info',
205205
description: [

0 commit comments

Comments
 (0)