Skip to content

Commit 70b0e89

Browse files
committed
Try to fix against the failed image test
1 parent 2802e17 commit 70b0e89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Plotly.plot = function(gd, data, layout, config) {
206206
if(trace.visible !== true || !trace._module.colorbar) {
207207
Plots.autoMargin(gd, 'cb' + trace.uid);
208208
}
209-
else if(Plots.traceIs(trace, 'markerColorscale') || Colorbar.hasColorbar(trace)) {
209+
else if(Plots.traceIs(trace, 'markerColorscale') || Plots.traceIs(trace, 'parcoords') || Colorbar.hasColorbar(trace)) {
210210
trace._module.colorbar(gd, cd);
211211
}
212212
}

src/traces/parcoords/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Parcoords.colorbar = require('./colorbar');
1919
Parcoords.moduleType = 'trace';
2020
Parcoords.name = 'parcoords';
2121
Parcoords.basePlotModule = require('./base_plot');
22-
Parcoords.categories = ['gl', 'noOpacity', 'markerColorscale'];
22+
Parcoords.categories = ['gl', 'noOpacity'];
2323
Parcoords.meta = {
2424
description: [
2525
'Parallel coordinates for multidimensional exploratory data analysis.',

0 commit comments

Comments
 (0)