Skip to content

Commit 01ee254

Browse files
committed
update colorbar Plotly.Plots.titles --> Plotly.Title.draw
1 parent f842118 commit 01ee254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/colorbar/colorbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ var colorbar = module.exports = function(td, id) {
239239
if(['top','bottom'].indexOf(opts.titleside)!==-1) {
240240
// draw the title so we know how much room it needs
241241
// when we squish the axis
242-
Plotly.Plots.titles(td, cbAxisOut._id + 'title');
242+
Plotly.Titles.draw(td, cbAxisOut._id + 'title');
243243
}
244244

245245
function drawAxis(){

0 commit comments

Comments
 (0)