diff --git a/draftlogs/6593_add.md b/draftlogs/6593_add.md
new file mode 100644
index 00000000000..ba128bd3ce6
--- /dev/null
+++ b/draftlogs/6593_add.md
@@ -0,0 +1 @@
+- Add `colorbar.xref` and `colorbar.yref` to enable container-referenced positioning for plot colorbars [[#6593](https://github.com/plotly/plotly.js/pull/6593)], with thanks to [Gamma Technologies](https://www.gtisoft.com/) for sponsoring the related development.
\ No newline at end of file
diff --git a/src/components/colorbar/attributes.js b/src/components/colorbar/attributes.js
index 267976606bc..e048f29ad4b 100644
--- a/src/components/colorbar/attributes.js
+++ b/src/components/colorbar/attributes.js
@@ -57,12 +57,25 @@ module.exports = overrideAll({
},
x: {
valType: 'number',
- min: -2,
- max: 3,
description: [
- 'Sets the x position of the color bar (in plot fraction).',
- 'Defaults to 1.02 when `orientation` is *v* and',
- '0.5 when `orientation` is *h*.'
+ 'Sets the x position with respect to `xref` of the color bar (in plot fraction).',
+ 'When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and',
+ '0.5 when `orientation` is *h*.',
+ 'When `xref` is *container*, defaults to *1* when `orientation` is *v* and',
+ '0.5 when `orientation` is *h*.',
+ 'Must be between *0* and *1* if `xref` is *container*',
+ 'and between *-2* and *3* if `xref` is *paper*.'
+ ].join(' ')
+ },
+ xref: {
+ valType: 'enumerated',
+ dflt: 'paper',
+ values: ['container', 'paper'],
+ editType: 'layoutstyle',
+ description: [
+ 'Sets the container `x` refers to.',
+ '*container* spans the entire `width` of the plot.',
+ '*paper* refers to the width of the plotting area only.'
].join(' ')
},
xanchor: {
@@ -84,14 +97,27 @@ module.exports = overrideAll({
},
y: {
valType: 'number',
- min: -2,
- max: 3,
description: [
- 'Sets the y position of the color bar (in plot fraction).',
- 'Defaults to 0.5 when `orientation` is *v* and',
- '1.02 when `orientation` is *h*.'
+ 'Sets the y position with respect to `yref` of the color bar (in plot fraction).',
+ 'When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and',
+ '1.02 when `orientation` is *h*.',
+ 'When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and',
+ '1 when `orientation` is *h*.',
+ 'Must be between *0* and *1* if `yref` is *container*',
+ 'and between *-2* and *3* if `yref` is *paper*.'
].join(' ')
},
+ yref: {
+ valType: 'enumerated',
+ dflt: 'paper',
+ values: ['container', 'paper'],
+ editType: 'layoutstyle',
+ description: [
+ 'Sets the container `y` refers to.',
+ '*container* spans the entire `height` of the plot.',
+ '*paper* refers to the height of the plotting area only.'
+ ].join(' '),
+ },
yanchor: {
valType: 'enumerated',
values: ['top', 'middle', 'bottom'],
diff --git a/src/components/colorbar/defaults.js b/src/components/colorbar/defaults.js
index e08a5dd0d0e..c791db0e4a2 100644
--- a/src/components/colorbar/defaults.js
+++ b/src/components/colorbar/defaults.js
@@ -37,11 +37,48 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
isVertical ? h : w
);
- coerce('x', isVertical ? 1.02 : 0.5);
- coerce('xanchor', isVertical ? 'left' : 'center');
+ var yref = coerce('yref');
+ var xref = coerce('xref');
+
+ var isPaperY = yref === 'paper';
+ var isPaperX = xref === 'paper';
+
+ var defaultX, defaultY, defaultYAnchor;
+ var defaultXAnchor = 'left';
+
+ if(isVertical) {
+ defaultYAnchor = 'middle';
+ defaultXAnchor = isPaperX ? 'left' : 'right';
+ defaultX = isPaperX ? 1.02 : 1;
+ defaultY = 0.5;
+ } else {
+ defaultYAnchor = isPaperY ? 'bottom' : 'top';
+ defaultXAnchor = 'center';
+ defaultX = 0.5;
+ defaultY = isPaperY ? 1.02 : 1;
+ }
+
+ Lib.coerce(colorbarIn, colorbarOut, {
+ x: {
+ valType: 'number',
+ min: isPaperX ? -2 : 0,
+ max: isPaperX ? 3 : 1,
+ dflt: defaultX,
+ }
+ }, 'x');
+
+ Lib.coerce(colorbarIn, colorbarOut, {
+ y: {
+ valType: 'number',
+ min: isPaperY ? -2 : 0,
+ max: isPaperY ? 3 : 1,
+ dflt: defaultY,
+ }
+ }, 'y');
+
+ coerce('xanchor', defaultXAnchor);
coerce('xpad');
- coerce('y', isVertical ? 0.5 : 1.02);
- coerce('yanchor', isVertical ? 'middle' : 'bottom');
+ coerce('yanchor', defaultYAnchor);
coerce('ypad');
Lib.noneOrAll(colorbarIn, colorbarOut, ['x', 'y']);
diff --git a/src/components/colorbar/draw.js b/src/components/colorbar/draw.js
index 45c56092ace..f0b551781ec 100644
--- a/src/components/colorbar/draw.js
+++ b/src/components/colorbar/draw.js
@@ -182,6 +182,9 @@ function drawColorBar(g, opts, gd) {
var optsX = opts.x;
var optsY = isVertical ? opts.y : 1 - opts.y;
+ var isPaperY = opts.yref === 'paper';
+ var isPaperX = opts.xref === 'paper';
+
var fullLayout = gd._fullLayout;
var gs = fullLayout._size;
@@ -216,11 +219,14 @@ function drawColorBar(g, opts, gd) {
var lenPx = Math.round(len * (lenmode === 'fraction' ? (isVertical ? gs.h : gs.w) : 1));
var lenFrac = lenPx / (isVertical ? gs.h : gs.w);
+ var posW = isPaperX ? gs.w : gd._fullLayout.width;
+ var posH = isPaperY ? gs.h : gd._fullLayout.height;
+
// x positioning: do it initially just for left anchor,
// then fix at the end (since we don't know the width yet)
var uPx = Math.round(isVertical ?
- optsX * gs.w + xpad :
- optsY * gs.h + ypad
+ optsX * posW + xpad :
+ optsY * posH + ypad
);
var xRatio = {center: 0.5, right: 1}[xanchor] || 0;
@@ -237,8 +243,8 @@ function drawColorBar(g, opts, gd) {
optsX - xRatio * lenFrac;
var vPx = Math.round(isVertical ?
- gs.h * (1 - vFrac) :
- gs.w * vFrac
+ posH * (1 - vFrac) :
+ posW * vFrac
);
// stash a few things for makeEditable
@@ -351,18 +357,18 @@ function drawColorBar(g, opts, gd) {
var x, y;
if(titleSide === 'top') {
- x = xpad + gs.l + gs.w * optsX;
- y = ypad + gs.t + gs.h * (1 - vFrac - lenFrac) + 3 + titleFontSize * 0.75;
+ x = xpad + gs.l + posW * optsX;
+ y = ypad + gs.t + posH * (1 - vFrac - lenFrac) + 3 + titleFontSize * 0.75;
}
if(titleSide === 'bottom') {
- x = xpad + gs.l + gs.w * optsX;
- y = ypad + gs.t + gs.h * (1 - vFrac) - 3 - titleFontSize * 0.25;
+ x = xpad + gs.l + posW * optsX;
+ y = ypad + gs.t + posH * (1 - vFrac) - 3 - titleFontSize * 0.25;
}
if(titleSide === 'right') {
- y = ypad + gs.t + gs.h * optsY + 3 + titleFontSize * 0.75;
- x = xpad + gs.l + gs.w * vFrac;
+ y = ypad + gs.t + posH * optsY + 3 + titleFontSize * 0.75;
+ x = xpad + gs.l + posW * vFrac;
}
drawTitle(ax._id + 'title', {
@@ -382,14 +388,14 @@ function drawColorBar(g, opts, gd) {
if(titleSide === 'right') {
y = mid;
- x = gs.l + gs.w * pos + 10 + titleFontSize * (
+ x = gs.l + posW * pos + 10 + titleFontSize * (
ax.showticklabels ? 1 : 0.5
);
} else {
x = mid;
if(titleSide === 'bottom') {
- y = gs.t + gs.h * pos + 10 + (
+ y = gs.t + posH * pos + 10 + (
ticklabelposition.indexOf('inside') === -1 ?
ax.tickfont.size :
0
@@ -402,7 +408,7 @@ function drawColorBar(g, opts, gd) {
if(titleSide === 'top') {
var nlines = title.text.split('
').length;
- y = gs.t + gs.h * pos + 10 - thickPx - LINE_SPACING * titleFontSize * nlines;
+ y = gs.t + posH * pos + 10 - thickPx - LINE_SPACING * titleFontSize * nlines;
}
}
@@ -668,9 +674,13 @@ function drawColorBar(g, opts, gd) {
var extraW = borderwidth + outlinewidth;
+ // TODO - are these the correct positions?
+ var lx = (isVertical ? uPx : vPx) - extraW / 2 - (isVertical ? xpad : 0);
+ var ly = (isVertical ? vPx : uPx) - (isVertical ? lenPx : ypad + moveY - hColorbarMoveTitle);
+
g.select('.' + cn.cbbg)
- .attr('x', (isVertical ? uPx : vPx) - extraW / 2 - (isVertical ? xpad : 0))
- .attr('y', (isVertical ? vPx : uPx) - (isVertical ? lenPx : ypad + moveY - hColorbarMoveTitle))
+ .attr('x', lx)
+ .attr('y', ly)
.attr(isVertical ? 'width' : 'height', Math.max(outerThickness - hColorbarMoveTitle, 2))
.attr(isVertical ? 'height' : 'width', Math.max(lenPx + extraW, 2))
.call(Color.fill, bgcolor)
@@ -693,9 +703,14 @@ function drawColorBar(g, opts, gd) {
'stroke-width': outlinewidth
});
+ var xShift = ((isVertical ? xRatio * outerThickness : 0));
+ var yShift = ((isVertical ? 0 : (1 - yRatio) * outerThickness - moveY));
+ xShift = isPaperX ? gs.l - xShift : -xShift;
+ yShift = isPaperY ? gs.t - yShift : -yShift;
+
g.attr('transform', strTranslate(
- gs.l - (isVertical ? xRatio * outerThickness : 0),
- gs.t - (isVertical ? 0 : (1 - yRatio) * outerThickness - moveY)
+ xShift,
+ yShift
));
if(!isVertical && (
@@ -802,8 +817,30 @@ function drawColorBar(g, opts, gd) {
marginOpts.yb = optsY + thickness * bFrac;
}
}
+ var sideY = opts.y < 0.5 ? 'b' : 't';
+ var sideX = opts.x < 0.5 ? 'l' : 'r';
+
+ gd._fullLayout._reservedMargin[opts._id] = {};
+ var possibleReservedMargins = {
+ r: (fullLayout.width - lx - xShift),
+ l: lx + marginOpts.r,
+ b: (fullLayout.height - ly - yShift),
+ t: ly + marginOpts.b
+ };
- Plots.autoMargin(gd, opts._id, marginOpts);
+ if(isPaperX && isPaperY) {
+ Plots.autoMargin(gd, opts._id, marginOpts);
+ } else if(isPaperX) {
+ gd._fullLayout._reservedMargin[opts._id][sideY] = possibleReservedMargins[sideY];
+ } else if(isPaperY) {
+ gd._fullLayout._reservedMargin[opts._id][sideX] = possibleReservedMargins[sideX];
+ } else {
+ if(isVertical) {
+ gd._fullLayout._reservedMargin[opts._id][sideX] = possibleReservedMargins[sideX];
+ } else {
+ gd._fullLayout._reservedMargin[opts._id][sideY] = possibleReservedMargins[sideY];
+ }
+ }
}
return Lib.syncOrAsync([
diff --git a/test/image/baselines/zz-container-colorbar-horizontal.png b/test/image/baselines/zz-container-colorbar-horizontal.png
new file mode 100644
index 00000000000..f8f09764d95
Binary files /dev/null and b/test/image/baselines/zz-container-colorbar-horizontal.png differ
diff --git a/test/image/baselines/zz-container-colorbar-vertical.png b/test/image/baselines/zz-container-colorbar-vertical.png
new file mode 100644
index 00000000000..449a3be64e1
Binary files /dev/null and b/test/image/baselines/zz-container-colorbar-vertical.png differ
diff --git a/test/image/mocks/zz-container-colorbar-horizontal.json b/test/image/mocks/zz-container-colorbar-horizontal.json
new file mode 100644
index 00000000000..04972494a0f
--- /dev/null
+++ b/test/image/mocks/zz-container-colorbar-horizontal.json
@@ -0,0 +1,48 @@
+{
+ "data": [
+ {
+ "colorbar": {
+ "orientation": "h",
+ "yref": "container",
+ "y": 0,
+ "yanchor": "bottom",
+ "thickness": 10,
+ "ticks": "outside",
+ "bgcolor": "rgba(255,255,0,0.5)",
+ "borderwidth": 4,
+ "bordercolor": "gray",
+ "title": {
+ "text": "Colorbar
title",
+ "font": {
+ "size": 16
+ }
+ }
+ },
+ "z": [
+ [
+ 1,
+ 3,
+ 5
+ ],
+ [
+ 4,
+ 7,
+ 10
+ ],
+ [
+ 7,
+ 11,
+ 14
+ ]
+ ],
+ "type": "heatmap"
+ }
+ ],
+ "layout": {
+ "margin": {"l": 0, "r": 0, "t": 0, "b": 0},
+ "height": 300,
+ "width": 400,
+ "xaxis": {"automargin": true, "title": {"text": "X-axis title"}},
+ "title": {"text": "Colorbar with `yref='container'` | horizontal", "automargin": true}
+ }
+}
diff --git a/test/image/mocks/zz-container-colorbar-vertical.json b/test/image/mocks/zz-container-colorbar-vertical.json
new file mode 100644
index 00000000000..e5dccbdd4e4
--- /dev/null
+++ b/test/image/mocks/zz-container-colorbar-vertical.json
@@ -0,0 +1,47 @@
+{
+ "data": [
+ {
+ "colorbar": {
+ "orientation": "v",
+ "xref": "container",
+ "thickness": 10,
+ "ticks": "outside",
+ "bgcolor": "rgba(255,255,0,0.5)",
+ "borderwidth": 4,
+ "bordercolor": "gray",
+ "title": {
+ "side": "top",
+ "text": "Colorbar
title",
+ "font": {
+ "size": 16
+ }
+ }
+ },
+ "z": [
+ [
+ 1,
+ 3,
+ 5
+ ],
+ [
+ 4,
+ 7,
+ 10
+ ],
+ [
+ 7,
+ 11,
+ 14
+ ]
+ ],
+ "type": "heatmap"
+ }
+ ],
+ "layout": {
+ "margin": {"l": 0, "r": 0, "t": 0, "b": 0},
+ "height": 300,
+ "width": 400,
+ "yaxis": {"automargin": true, "side": "right", "title": {"text": "Y-axis title"}},
+ "title": {"text": "Colorbar with `xref='container' | vertical`", "automargin": true}
+ }
+}
diff --git a/test/plot-schema.json b/test/plot-schema.json
index 8a2c9e85e44..38cb87d45b3 100644
--- a/test/plot-schema.json
+++ b/test/plot-schema.json
@@ -1563,10 +1563,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -1586,11 +1584,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -1609,6 +1615,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -13465,10 +13481,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -13488,11 +13502,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -13511,6 +13533,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -14998,10 +15030,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -15021,11 +15051,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -15044,6 +15082,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -19258,10 +19306,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -19281,11 +19327,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -19304,6 +19358,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -20269,10 +20333,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -20292,11 +20354,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -20315,6 +20385,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -21309,10 +21389,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -21332,11 +21410,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -21355,6 +21441,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -22367,10 +22463,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -22390,11 +22484,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -22413,6 +22515,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -23766,10 +23878,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -23789,11 +23899,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -23812,6 +23930,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -24736,10 +24864,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -24759,11 +24885,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -24782,6 +24916,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -26061,10 +26205,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -26084,11 +26226,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -26107,6 +26257,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -27789,10 +27949,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -27812,11 +27970,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -27835,6 +28001,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -28971,10 +29147,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -28994,11 +29168,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -29017,6 +29199,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -30530,10 +30722,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -30553,11 +30743,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -30576,6 +30774,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -31720,10 +31928,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -31743,11 +31949,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -31766,6 +31980,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -32874,10 +33098,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -32897,11 +33119,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -32920,6 +33150,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -34547,10 +34787,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -34570,11 +34808,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -34593,6 +34839,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colors": {
@@ -36884,10 +37140,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -36907,11 +37161,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -36930,6 +37192,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -38118,10 +38390,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -38141,11 +38411,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -38164,6 +38442,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -40124,10 +40412,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -40147,11 +40433,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -40170,6 +40464,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -41099,10 +41403,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -41122,11 +41424,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -41145,6 +41455,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -44696,10 +45016,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -44719,11 +45037,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -44742,6 +45068,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -46961,10 +47297,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -46984,11 +47318,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -47007,6 +47349,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -47556,10 +47908,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -47579,11 +47929,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -47602,6 +47960,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -49051,10 +49419,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -49074,11 +49440,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -49097,6 +49471,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -50952,10 +51336,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -50975,11 +51357,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -50998,6 +51388,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -52988,10 +53388,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -53011,11 +53409,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -53034,6 +53440,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -54986,10 +55402,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -55009,11 +55423,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -55032,6 +55454,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -56208,10 +56640,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -56231,11 +56661,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -56254,6 +56692,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -58101,10 +58549,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -58124,11 +58570,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -58147,6 +58601,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -59981,10 +60445,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -60004,11 +60466,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -60027,6 +60497,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -61900,10 +62380,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -61923,11 +62401,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -61946,6 +62432,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -63750,10 +64246,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -63773,11 +64267,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -63796,6 +64298,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -65167,10 +65679,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -65190,11 +65700,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -65213,6 +65731,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -66650,10 +67178,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -66673,11 +67199,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -66696,6 +67230,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colors": {
@@ -67529,10 +68073,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -67552,11 +68094,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -67575,6 +68125,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {
@@ -69913,10 +70473,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -69936,11 +70494,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "colorbars",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -69959,6 +70525,16 @@
"editType": "colorbars",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "colorbars",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colors": {
@@ -72264,10 +72840,8 @@
}
},
"x": {
- "description": "Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.",
+ "description": "Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"xanchor": {
@@ -72287,11 +72861,19 @@
"min": 0,
"valType": "number"
},
+ "xref": {
+ "description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
+ },
"y": {
- "description": "Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.",
+ "description": "Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*.",
"editType": "calc",
- "max": 3,
- "min": -2,
"valType": "number"
},
"yanchor": {
@@ -72310,6 +72892,16 @@
"editType": "calc",
"min": 0,
"valType": "number"
+ },
+ "yref": {
+ "description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
+ "dflt": "paper",
+ "editType": "calc",
+ "valType": "enumerated",
+ "values": [
+ "container",
+ "paper"
+ ]
}
},
"colorscale": {