Skip to content

Commit 4af500a

Browse files
committed
Fix carpet legend line styling
1 parent 977021a commit 4af500a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/legend/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function styleLines(d) {
6666
showLine = subTypes.hasLines(trace);
6767

6868
if(trace && trace._module && trace._module.name === 'contourcarpet') {
69-
showLine = trace.contours.type === 'constraint';
69+
showLine = trace.contours.type === 'constraint' || trace.contours.coloring === 'none';
7070
showFill = trace.contours.type === 'constraint';
7171
}
7272

0 commit comments

Comments
 (0)