Skip to content

Commit 5b3f560

Browse files
committed
Set FaceColor to one color if no lines in filledLineChart.m
1 parent ff6a137 commit 5b3f560

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

example.mlx

-163 KB
Binary file not shown.

filledLineChart.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function update(obj)
177177

178178
% For one line, only need to designate a single color.
179179
if ncols <= 1
180-
obj.PatchObject.FaceColor = getColors(ncols, obj.ColorOrder);
180+
obj.PatchObject.FaceColor = getColors(1, obj.ColorOrder);
181181
elseif ncols > 1
182182
obj.PatchObject.FaceColor = 'flat';
183183
end

0 commit comments

Comments
 (0)