File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed
Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,4 @@ module.exports = {
121121 ] . join ( ' ' )
122122 } ,
123123 editType : 'calc' ,
124-
125- _deprecated : {
126- opacity : {
127- valType : 'number' ,
128- editType : 'style' ,
129- description : [
130- 'Obsolete.' ,
131- 'Use the alpha channel in error bar `color` to set the opacity.'
132- ] . join ( ' ' )
133- }
134- }
135124} ;
Original file line number Diff line number Diff line change @@ -283,18 +283,6 @@ exports.cleanData = function(data) {
283283 delete trace . xbins ;
284284 }
285285
286- // error_y.opacity is obsolete - merge into color
287- if ( trace . error_y && 'opacity' in trace . error_y ) {
288- var dc = Color . defaults ;
289- var yeColor = trace . error_y . color || ( traceIs ( trace , 'bar' ) ?
290- Color . defaultLine :
291- dc [ tracei % dc . length ] ) ;
292- trace . error_y . color = Color . addOpacity (
293- Color . rgb ( yeColor ) ,
294- Color . opacity ( yeColor ) * trace . error_y . opacity ) ;
295- delete trace . error_y . opacity ;
296- }
297-
298286 // convert bardir to orientation, and put the data into
299287 // the axes it's eventually going to be used with
300288 if ( 'bardir' in trace ) {
You can’t perform that action at this time.
0 commit comments