File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -482,8 +482,8 @@ plots.supplyDefaults = function(gd) {
482
482
Lib . fillUnique ( basePlotModules , fullTrace . _module . basePlotModule ) ;
483
483
}
484
484
485
- // attach helper method
486
- newFullLayout . _has = hasPlotType . bind ( newFullLayout ) ;
485
+ // attach helper method to check whether a plot type is present on graph
486
+ newFullLayout . _has = plots . _hasPlotType . bind ( newFullLayout ) ;
487
487
488
488
// special cases that introduce interactions between traces
489
489
for ( i = 0 ; i < modules . length ; i ++ ) {
@@ -537,7 +537,7 @@ plots.supplyDefaults = function(gd) {
537
537
538
538
// helper function to be bound to fullLayout to check
539
539
// whether a certain plot type is present on plot
540
- function hasPlotType ( category ) {
540
+ plots . _hasPlotType = function ( category ) {
541
541
var basePlotModules = this . _basePlotModules || [ ] ;
542
542
543
543
for ( var i = 0 ; i < basePlotModules . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments