Skip to content

Commit 608740f

Browse files
committed
fix title positioning
1 parent 3190382 commit 608740f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot_api/subroutines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ exports.drawMainTitle = function(gd) {
420420
});
421421

422422
if(title.text && title.automargin) {
423-
var titleObj = d3.selectAll('.g-gtitle');
423+
var titleObj = d3.selectAll('.gtitle');
424424
var titleHeight = Drawing.bBox(titleObj.node()).height;
425425
var pushMargin = needsMarginPush(gd, title, titleHeight);
426426
if(pushMargin > 0) {

0 commit comments

Comments
 (0)