Skip to content

Commit 75113a9

Browse files
Fix typos in matlab fonts and use strings
1 parent adf7fa6 commit 75113a9

File tree

2 files changed

+572
-577
lines changed

2 files changed

+572
-577
lines changed

plotly/Test_plotlyfig.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function testLinePlotLayout(tc)
6565
"exponentformat", 'none', ...
6666
"tickfont", struct( ...
6767
"size", 10, ...
68-
"family", 'Arial, sans-serif', ...
68+
"family", "Arial, sans-serif", ...
6969
"color", "rgb(38,38,38)" ...
7070
), ...
7171
"ticklen", 6.51, ...
@@ -84,7 +84,7 @@ function testLinePlotLayout(tc)
8484
"ticktext", {{'1'; '2'; '3'; '4'; '5'; '6'; '7'; '8'; '9'; '10'}}, ...
8585
"titlefont", struct( ...
8686
"color", "rgb(38,38,38)", ...
87-
"family", 'Arial, sans-serif', ...
87+
"family", "Arial, sans-serif", ...
8888
"size", 11 ...
8989
), ...
9090
"showline", true, ...
@@ -106,7 +106,7 @@ function testLinePlotLayout(tc)
106106
"exponentformat", 'none', ...
107107
"tickfont", struct( ...
108108
"size", 10, ...
109-
"family", 'Arial, sans-serif', ...
109+
"family", "Arial, sans-serif", ...
110110
"color", "rgb(38,38,38)" ...
111111
), ...
112112
"ticklen", 6.51, ...
@@ -125,7 +125,7 @@ function testLinePlotLayout(tc)
125125
"ticktext", {{'0'; '0.1'; '0.2'; '0.3'; '0.4'; '0.5'; '0.6'; '0.7'; '0.8'; '0.9'}}, ...
126126
"titlefont", struct( ...
127127
"color", "rgb(38,38,38)", ...
128-
"family", 'Arial, sans-serif', ...
128+
"family", "Arial, sans-serif", ...
129129
"size", 11 ...
130130
), ...
131131
"showline", true, ...
@@ -144,7 +144,7 @@ function testLinePlotLayout(tc)
144144
"y", 0.935, ...
145145
"font", struct( ...
146146
"color", "rgb(0,0,0)", ...
147-
"family", 'Arial, sans-serif', ...
147+
"family", "Arial, sans-serif", ...
148148
"size", 11 ...
149149
), ...
150150
"bordercolor", "rgba(0,0,0,0)", ...
@@ -2030,7 +2030,7 @@ function testTitleFont(tc)
20302030
tc.verifyEqual(annotation.text, "<b><b>Custom Title</b></b>");
20312031
tc.verifyEqual(annotation.font, struct( ...
20322032
"color", "rgb(0,255,0)", ...
2033-
"family", 'Arial, sans-serif', ...
2033+
"family", "Arial, sans-serif", ...
20342034
"size", 24 ...
20352035
));
20362036
end
@@ -2051,13 +2051,13 @@ function testAxisLabelSizeFont(tc)
20512051
tc.verifyEqual(p.layout.xaxis1.titlefont, struct( ...
20522052
"color", "rgb(0,0,255)", ...
20532053
"size", 20, ...
2054-
"family", 'Droid Sans, sans-serif' ...
2054+
"family", "Droid Sans, sans-serif" ...
20552055
));
20562056
tc.verifyEqual(p.layout.yaxis1.title, 'Y Label');
20572057
tc.verifyEqual(p.layout.yaxis1.titlefont, struct( ...
20582058
"color", "rgb(255,0,0)", ...
20592059
"size", 20, ...
2060-
"family", 'Droid Sans, sans-serif' ...
2060+
"family", "Droid Sans, sans-serif" ...
20612061
));
20622062
end
20632063
end

0 commit comments

Comments
 (0)