Skip to content

Commit ed8d56d

Browse files
committed
use Registry.traceIs instead of plots.traceIs copy
1 parent 381b6e4 commit ed8d56d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plots/plots.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ plots.supplyTraceDefaults = function(traceIn, colorIndex, layout, traceInIndex)
11091109
coerce('customdata');
11101110
coerce('ids');
11111111

1112-
if(plots.traceIs(traceOut, 'showLegend')) {
1112+
if(Registry.traceIs(traceOut, 'showLegend')) {
11131113
coerce('showlegend');
11141114
coerce('legendgroup');
11151115
}
@@ -1126,9 +1126,9 @@ plots.supplyTraceDefaults = function(traceIn, colorIndex, layout, traceInIndex)
11261126
Lib.coerceHoverinfo(traceIn, traceOut, layout);
11271127
}
11281128

1129-
if(!plots.traceIs(traceOut, 'noOpacity')) coerce('opacity');
1129+
if(!Registry.traceIs(traceOut, 'noOpacity')) coerce('opacity');
11301130

1131-
if(plots.traceIs(traceOut, 'notLegendIsolatable')) {
1131+
if(Registry.traceIs(traceOut, 'notLegendIsolatable')) {
11321132
// This clears out the legendonly state for traces like carpet that
11331133
// cannot be isolated in the legend
11341134
traceOut.visible = !!traceOut.visible;

0 commit comments

Comments
 (0)