Skip to content

Commit e3d5abb

Browse files
committed
remove deprecated title attributes from colorbar
1 parent d1a5f09 commit e3d5abb

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed

src/components/colorbar/attributes.js

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -212,19 +212,10 @@ module.exports = overrideAll({
212212
title: {
213213
text: {
214214
valType: 'string',
215-
description: [
216-
'Sets the title of the color bar.',
217-
'Note that before the existence of `title.text`, the title\'s',
218-
'contents used to be defined as the `title` attribute itself.',
219-
'This behavior has been deprecated.'
220-
].join(' ')
215+
description: 'Sets the title of the color bar.'
221216
},
222217
font: fontAttrs({
223-
description: [
224-
'Sets this color bar\'s title font.',
225-
'Note that the title\'s font used to be set',
226-
'by the now deprecated `titlefont` attribute.'
227-
].join(' ')
218+
description: 'Sets this color bar\'s title font.'
228219
}),
229220
side: {
230221
valType: 'enumerated',
@@ -234,29 +225,10 @@ module.exports = overrideAll({
234225
'with respect to the color bar.',
235226
'Defaults to *top* when `orientation` if *v* and ',
236227
'defaults to *right* when `orientation` if *h*.',
237-
'Note that the title\'s location used to be set',
238-
'by the now deprecated `titleside` attribute.'
239228
].join(' ')
240229
}
241230
},
242231

243232
_deprecated: {
244-
title: {
245-
valType: 'string',
246-
description: [
247-
'Deprecated in favor of color bar\'s `title.text`.',
248-
'Note that value of color bar\'s `title` is no longer a simple',
249-
'*string* but a set of sub-attributes.'
250-
].join(' ')
251-
},
252-
titlefont: fontAttrs({
253-
description: 'Deprecated in favor of color bar\'s `title.font`.'
254-
}),
255-
titleside: {
256-
valType: 'enumerated',
257-
values: ['right', 'top', 'bottom'],
258-
dflt: 'top',
259-
description: 'Deprecated in favor of color bar\'s `title.side`.'
260-
}
261233
}
262234
}, 'colorbars', 'from-root');

0 commit comments

Comments
 (0)