Skip to content

Commit 2004548

Browse files
authored
Update addtheme.m
1 parent da264f3 commit 2004548

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

plotly/addtheme.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
if ~any(strcmp(N,strcat(theme, '.json'))) == 1
99
ME = MException('MyComponent:noSuchVariable',...
10-
[strcat('\n<strong>', theme, '</strong> is not a supported themes.'),...
10+
[strcat('\n<strong>', theme,...
11+
'</strong> is not a supported themes.'),...
1112
' Please choose one of these theme names:\n\n',...
1213
strrep(strrep([S.name], '...', ''), '.json', ' | ')]);
1314
throw(ME)
@@ -25,13 +26,12 @@
2526
f.layout.template = theme_template;
2627

2728
if isfield(f.layout.template.layout, 'paper_bgcolor')
28-
disp([strcat('layout.bg_paper:::',...
29-
f.layout.template.layout.paper_bgcolor)])
29+
disp(strcat('layout.bg_paper:::',...
30+
f.layout.template.layout.paper_bgcolor))
3031
end
3132

3233
if isfield(f.layout.template.layout, 'plot_bgcolor')
33-
disp([strcat('layout.plot_bgcolor:::',...
34-
f.layout.template.layout.plot_bgcolor)])
35-
end
36-
34+
disp(strcat('layout.plot_bgcolor:::',...
35+
f.layout.template.layout.plot_bgcolor))
36+
end
3737
end

0 commit comments

Comments
 (0)