Skip to content

Commit a5dbf44

Browse files
committed
sub Plotly[module]. --> [module].
1 parent 0503901 commit a5dbf44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/shapes/draw.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function draw(gd) {
5353
}
5454

5555
// may need to resurrect this if we put text (LaTeX) in shapes
56-
// return Plotly.Plots.previousPromises(gd);
56+
// return Plots.previousPromises(gd);
5757
}
5858

5959
function drawOne(gd, index, opt, value) {
@@ -450,8 +450,8 @@ function getShapeLayer(gd, index) {
450450
}
451451

452452
function isShapeInSubplot(gd, shape, plotinfo) {
453-
var xa = Plotly.Axes.getFromId(gd, plotinfo.id, 'x')._id,
454-
ya = Plotly.Axes.getFromId(gd, plotinfo.id, 'y')._id,
453+
var xa = Axes.getFromId(gd, plotinfo.id, 'x')._id,
454+
ya = Axes.getFromId(gd, plotinfo.id, 'y')._id,
455455
isBelow = shape.layer === 'below',
456456
inSuplotAxis = (xa === shape.xref || ya === shape.yref),
457457
isNotAnOverlaidSubplot = !!plotinfo.shapelayer;

0 commit comments

Comments
 (0)