Skip to content

Commit 6bfcb78

Browse files
committed
#581 adding props to recalcAttrs, replotAttrs
1 parent 8a2afa3 commit 6bfcb78

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/plot_api/plot_api.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,9 @@ Plotly.restyle = function restyle(gd, astr, val, traces) {
15861586
'outsidetextfont.size', 'outsidetextfont.family', 'outsidetextfont.color',
15871587
'hole', 'scalegroup', 'domain', 'domain.x', 'domain.y',
15881588
'domain.x[0]', 'domain.x[1]', 'domain.y[0]', 'domain.y[1]',
1589-
'tilt', 'tiltaxis', 'depth', 'direction', 'rotation', 'pull'
1589+
'tilt', 'tiltaxis', 'depth', 'direction', 'rotation', 'pull',
1590+
'line.showscale', 'line.cauto', 'line.autocolorscale', 'line.reversescale',
1591+
'marker.line.showscale', 'marker.line.cauto', 'marker.line.autocolorscale', 'marker.line.reversescale'
15901592
];
15911593
for(i = 0; i < traces.length; i++) {
15921594
if(Plots.traceIs(gd._fullData[traces[i]], 'box')) {
@@ -1608,6 +1610,8 @@ Plotly.restyle = function restyle(gd, astr, val, traces) {
16081610
var replotAttrs = [
16091611
'zmin', 'zmax', 'zauto',
16101612
'marker.cmin', 'marker.cmax', 'marker.cauto',
1613+
'line.cmin', 'line.cmax',
1614+
'marker.line.cmin', 'marker.line.cmax',
16111615
'contours.start', 'contours.end', 'contours.size',
16121616
'contours.showlines',
16131617
'line', 'line.smoothing', 'line.shape',

0 commit comments

Comments
 (0)