Skip to content

Commit e15b1e0

Browse files
committed
field check updated
I am sorry, now I have updated it to the most efficient way!
1 parent f432804 commit e15b1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/plotlyfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ function validate(obj)
488488
for j = i:length(ax)
489489
if ((mean(eq(ax(i).Position, ax(j).Position)) == 1) && (i~=j))
490490
temp_plots = findobj(temp_ax(i),'-not','Type','Text','-not','Type','axes','-depth',1);
491-
if ~ischar(temp_plots.FaceAlpha)
491+
if isfield(temp_plots, 'FaceAlpha')
492492
update_opac(i) = true;
493493
else
494494
update_opac(i) = false;

0 commit comments

Comments
 (0)