Skip to content

Commit a2d6fd5

Browse files
removed redundant return data
1 parent eed9bbf commit a2d6fd5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plots/cartesian/axes.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -2650,7 +2650,7 @@ axes.drawOne = function(gd, ax, opts) {
26502650
};
26512651

26522652
function filterPush(push, automargin) {
2653-
if(!push) return push;
2653+
if(!push) return;
26542654

26552655
var keepMargin = Object.keys(MARGIN_MAPPING).reduce(function(data, nextKey) {
26562656
if(automargin.indexOf(nextKey) !== -1) {
@@ -2665,7 +2665,6 @@ function filterPush(push, automargin) {
26652665
else delete push[key];
26662666
}
26672667
});
2668-
return push;
26692668
}
26702669

26712670
function getBoundaryVals(ax, vals) {

0 commit comments

Comments
 (0)