We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac9776 commit 74773fbCopy full SHA for 74773fb
1 file changed
src/plots/domain.js
@@ -131,6 +131,6 @@ exports.defaults = function(containerOut, layout, coerce, dfltDomains) {
131
var y = coerce('domain.y', dfltY);
132
133
// don't accept bad input data
134
- if(!(x[0] < x[1])) containerOut.domain.x = dfltX;
135
- if(!(y[0] < y[1])) containerOut.domain.y = dfltY;
+ if(!(x[0] < x[1])) containerOut.domain.x = dfltX.slice();
+ if(!(y[0] < y[1])) containerOut.domain.y = dfltY.slice();
136
};
0 commit comments