|
7 | 7 |
|
8 | 8 | if ~any(strcmp(N,strcat(theme, '.json'))) == 1
|
9 | 9 | 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.'),... |
11 | 12 | ' Please choose one of these theme names:\n\n',...
|
12 | 13 | strrep(strrep([S.name], '...', ''), '.json', ' | ')]);
|
13 | 14 | throw(ME)
|
|
25 | 26 | f.layout.template = theme_template;
|
26 | 27 |
|
27 | 28 | 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)) |
30 | 31 | end
|
31 | 32 |
|
32 | 33 | 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 |
37 | 37 | end
|
0 commit comments