Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c41202

Browse files
committed
rm unused block,
this block created titles for all axes, this signature isn't used anymore.
1 parent 21b5411 commit 5c41202

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/components/titles/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ var Titles = module.exports = {};
2121
// title can be 'xtitle', 'ytitle', 'gtitle',
2222
// or empty to draw all
2323
Titles.draw = function(gd, title) {
24-
if(!title) {
25-
Plotly.Axes.listIds(gd).forEach(function(axId) {
26-
Titles.draw(gd, axId + 'title');
27-
});
28-
Titles.draw(gd, 'gtitle');
29-
return;
30-
}
31-
3224
var fullLayout = gd._fullLayout,
3325
gs = fullLayout._size,
3426
axletter = title.charAt(0),

0 commit comments

Comments
 (0)