Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d158967

Browse files
committed
results of running run.py, matlab_exceptions, publish.py test and publish.py publish on modified matlab scripts
1 parent b1c6604 commit d158967

File tree

34 files changed

+110
-53
lines changed

34 files changed

+110
-53
lines changed

auto-docs/chart-types/bubble/matlab-bubble-chart/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ fig = figure;
1212
scatter(x, y, r, c, 'filled', 'MarkerEdgeColor', 'k')
1313

1414
%--PLOTLY--%
15-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
15+
16+
% strip = false => preserve MATLAB style!
17+
18+
response = fig2plotly(fig, 'filename', 'matlab-bubble-chart', 'strip', false);
1619
plotly_url = response.url;

auto-docs/chart-types/line_exclusive/matlab-basic-line/matlab/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ fig = figure;
1010
plot(x,y1,x,y2);
1111

1212
%--PLOTLY--%
13-
response = fig2plotly(fig);
13+
response = fig2plotly(fig, 'filename', 'matlab-basic-line');
1414
plotly_url = response.url;

auto-docs/chart-types/line_exclusive/matlab-line-markers/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ plot(x, y0, 'r+', x, y1, 'go', x, y2, 'b*', x, y3, 'cx', ...
1818
x, y4, 'ms', x, y5, 'yd', x, y6, 'kv');
1919

2020
%--PLOTLY--%
21-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
21+
22+
% strip = false => preserve MATLAB style!
23+
24+
response = fig2plotly(fig, 'filename', 'matlab-line-markers', 'strip', false);
2225
plotly_url = response.url;

auto-docs/chart-types/line_exclusive/matlab-line-style/matlab/code.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ y3 = sin(x-0.5);
1010
fig = figure;
1111
hold on
1212

13-
plot(x,y1,'Color',[150 244 100]/255,'LineWidth',3,'LineStyle','-.');
14-
plot(x,y2,'Color',[201 24 100]/255,'LineWidth',3,'LineStyle','--');
15-
plot(x,y3,'Color',[21 24 250]/255,'LineWidth',2,'LineStyle','o');
16-
13+
plot(x,y1,'Color',[50 204 10]/255,'LineWidth',3,'LineStyle','-.');
14+
plot(x,y2,'Color',[21 24 100]/255,'LineWidth',3,'LineStyle','--');
15+
plot(x,y3,'Color',[201 24 50]/255,'LineWidth',2,'LineStyle','o');
1716

1817
%--PLOTLY--%
19-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
18+
19+
% strip = false => preserve MATLAB style!
20+
21+
response = fig2plotly(fig, 'filename', 'matlab-line-style', 'strip', false);
2022
plotly_url = response.url;

auto-docs/chart-types/scatter_exclusive/matlab-scatter-plot/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ xlabel('Longitude');
1515
ylabel('Latitude');
1616

1717
%--PLOTLY--%
18-
response = fig2plotly(fig, 'strip', false); %<----- preserve MATLAB style!
18+
19+
% strip = false => preserve MATLAB style!
20+
21+
response = fig2plotly(fig, 'filename', 'matlab-scatter-plot', 'strip', false);
1922
plotly_url = response.url;

auto-docs/executables/matlab/matlab_basic_line.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
plot(x,y1,x,y2);
99

1010
%--PLOTLY--%
11-
response = fig2plotly(fig);
11+
response = fig2plotly(fig, 'filename', 'matlab-basic-line');
1212
plotly_url = response.url;

auto-docs/executables/matlab/matlab_bubble_chart.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
scatter(x, y, r, c, 'filled', 'MarkerEdgeColor', 'k')
1111

1212
%--PLOTLY--%
13-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
13+
14+
% strip = false => preserve MATLAB style!
15+
16+
response = fig2plotly(fig, 'filename', 'matlab-bubble-chart', 'strip', false);
1417
plotly_url = response.url;

auto-docs/executables/matlab/matlab_line_markers.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
x, y4, 'ms', x, y5, 'yd', x, y6, 'kv');
1717

1818
%--PLOTLY--%
19-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
19+
20+
% strip = false => preserve MATLAB style!
21+
22+
response = fig2plotly(fig, 'filename', 'matlab-line-markers', 'strip', false);
2023
plotly_url = response.url;

auto-docs/executables/matlab/matlab_line_style.m

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
fig = figure;
99
hold on
1010

11-
plot(x,y1,'Color',[150 244 100]/255,'LineWidth',3,'LineStyle','-.');
12-
plot(x,y2,'Color',[201 24 100]/255,'LineWidth',3,'LineStyle','--');
13-
plot(x,y3,'Color',[21 24 250]/255,'LineWidth',2,'LineStyle','o');
14-
11+
plot(x,y1,'Color',[50 204 10]/255,'LineWidth',3,'LineStyle','-.');
12+
plot(x,y2,'Color',[21 24 100]/255,'LineWidth',3,'LineStyle','--');
13+
plot(x,y3,'Color',[201 24 50]/255,'LineWidth',2,'LineStyle','o');
1514

1615
%--PLOTLY--%
17-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
16+
17+
% strip = false => preserve MATLAB style!
18+
19+
response = fig2plotly(fig, 'filename', 'matlab-line-style', 'strip', false);
1820
plotly_url = response.url;

auto-docs/executables/matlab/matlab_scatter_plot.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
ylabel('Latitude');
1414

1515
%--PLOTLY--%
16-
response = fig2plotly(fig, 'strip', false); %<----- preserve MATLAB style!
16+
17+
% strip = false => preserve MATLAB style!
18+
19+
response = fig2plotly(fig, 'filename', 'matlab-scatter-plot', 'strip', false);
1720
plotly_url = response.url;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"url": "https://plot.ly/~TestBot/491"
2+
"url": "https://plot.ly/~TestBot/495"
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"url": "https://plot.ly/~TestBot/487"
2+
"url": "https://plot.ly/~TestBot/148"
33
}

exceptions/matlab/matlab_basic_line.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
plot(x,y1,x,y2);
99

1010
%--PLOTLY--%
11-
response = fig2plotly(fig);
11+
response = fig2plotly(fig, 'filename', 'matlab-basic-line');
1212
plotly_url = response.url;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"url": "https://plot.ly/~TestBot/486"
2+
"url": "https://plot.ly/~TestBot/169"
33
}

exceptions/matlab/matlab_bubble_chart.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
scatter(x, y, r, c, 'filled', 'MarkerEdgeColor', 'k')
1111

1212
%--PLOTLY--%
13-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
13+
14+
% strip = false => preserve MATLAB style!
15+
16+
response = fig2plotly(fig, 'filename', 'matlab-bubble-chart', 'strip', false);
1417
plotly_url = response.url;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"url": "https://plot.ly/~TestBot/490"
2+
"url": "https://plot.ly/~TestBot/494"
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"url": "https://plot.ly/~TestBot/489"
2+
"url": "https://plot.ly/~TestBot/149"
33
}

exceptions/matlab/matlab_line_markers.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
x, y4, 'ms', x, y5, 'yd', x, y6, 'kv');
1717

1818
%--PLOTLY--%
19-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
19+
20+
% strip = false => preserve MATLAB style!
21+
22+
response = fig2plotly(fig, 'filename', 'matlab-line-markers', 'strip', false);
2023
plotly_url = response.url;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"url": "https://plot.ly/~TestBot/488"
2+
"url": "https://plot.ly/~TestBot/150"
33
}

exceptions/matlab/matlab_line_style.m

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
fig = figure;
99
hold on
1010

11-
plot(x,y1,'Color',[150 244 100]/255,'LineWidth',3,'LineStyle','-.');
12-
plot(x,y2,'Color',[201 24 100]/255,'LineWidth',3,'LineStyle','--');
13-
plot(x,y3,'Color',[21 24 250]/255,'LineWidth',2,'LineStyle','o');
14-
11+
plot(x,y1,'Color',[50 204 10]/255,'LineWidth',3,'LineStyle','-.');
12+
plot(x,y2,'Color',[21 24 100]/255,'LineWidth',3,'LineStyle','--');
13+
plot(x,y3,'Color',[201 24 50]/255,'LineWidth',2,'LineStyle','o');
1514

1615
%--PLOTLY--%
17-
response = fig2plotly(fig, 'strip', false); % <----- preserve MATLAB style!
16+
17+
% strip = false => preserve MATLAB style!
18+
19+
response = fig2plotly(fig, 'filename', 'matlab-line-style', 'strip', false);
1820
plotly_url = response.url;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"url": "https://plot.ly/~TestBot/492"
2+
"url": "https://plot.ly/~TestBot/165"
33
}

exceptions/matlab/matlab_scatter_plot.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
ylabel('Latitude');
1414

1515
%--PLOTLY--%
16-
response = fig2plotly(fig, 'strip', false); %<----- preserve MATLAB style!
16+
17+
% strip = false => preserve MATLAB style!
18+
19+
response = fig2plotly(fig, 'filename', 'matlab-scatter-plot', 'strip', false);
1720
plotly_url = response.url;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"url": "https://plot.ly/~TestBot/493"
2+
"url": "https://plot.ly/~TestBot/496"
33
}

published/api-docs/chart-types/bubble/matlab-bubble-chart/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ fig = figure;
1212
scatter(x, y, r, c, 'filled', 'MarkerEdgeColor', 'k')
1313

1414
%--PLOTLY--%
15-
response = fig2plotly(fig, 'strip', false); % &lt;----- preserve MATLAB style!
15+
16+
% strip = false =&gt; preserve MATLAB style!
17+
18+
response = fig2plotly(fig, 'filename', 'matlab-bubble-chart', 'strip', false);
1619
plotly_url = response.url;

published/api-docs/chart-types/line_exclusive/matlab-basic-line/matlab/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ fig = figure;
1010
plot(x,y1,x,y2);
1111

1212
%--PLOTLY--%
13-
response = fig2plotly(fig);
13+
response = fig2plotly(fig, 'filename', 'matlab-basic-line');
1414
plotly_url = response.url;

published/api-docs/chart-types/line_exclusive/matlab-line-markers/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ plot(x, y0, 'r+', x, y1, 'go', x, y2, 'b*', x, y3, 'cx', ...
1818
x, y4, 'ms', x, y5, 'yd', x, y6, 'kv');
1919

2020
%--PLOTLY--%
21-
response = fig2plotly(fig, 'strip', false); % &lt;----- preserve MATLAB style!
21+
22+
% strip = false =&gt; preserve MATLAB style!
23+
24+
response = fig2plotly(fig, 'filename', 'matlab-line-markers', 'strip', false);
2225
plotly_url = response.url;

published/api-docs/chart-types/line_exclusive/matlab-line-style/matlab/code.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ y3 = sin(x-0.5);
1010
fig = figure;
1111
hold on
1212

13-
plot(x,y1,'Color',[150 244 100]/255,'LineWidth',3,'LineStyle','-.');
14-
plot(x,y2,'Color',[201 24 100]/255,'LineWidth',3,'LineStyle','--');
15-
plot(x,y3,'Color',[21 24 250]/255,'LineWidth',2,'LineStyle','o');
16-
13+
plot(x,y1,'Color',[50 204 10]/255,'LineWidth',3,'LineStyle','-.');
14+
plot(x,y2,'Color',[21 24 100]/255,'LineWidth',3,'LineStyle','--');
15+
plot(x,y3,'Color',[201 24 50]/255,'LineWidth',2,'LineStyle','o');
1716

1817
%--PLOTLY--%
19-
response = fig2plotly(fig, 'strip', false); % &lt;----- preserve MATLAB style!
18+
19+
% strip = false =&gt; preserve MATLAB style!
20+
21+
response = fig2plotly(fig, 'filename', 'matlab-line-style', 'strip', false);
2022
plotly_url = response.url;

published/api-docs/chart-types/scatter_exclusive/matlab-scatter-plot/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ xlabel('Longitude');
1515
ylabel('Latitude');
1616

1717
%--PLOTLY--%
18-
response = fig2plotly(fig, 'strip', false); %&lt;----- preserve MATLAB style!
18+
19+
% strip = false =&gt; preserve MATLAB style!
20+
21+
response = fig2plotly(fig, 'filename', 'matlab-scatter-plot', 'strip', false);
1922
plotly_url = response.url;

test-published/api-docs/chart-types/bubble/matlab-bubble-chart/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ fig = figure;
1212
scatter(x, y, r, c, 'filled', 'MarkerEdgeColor', 'k')
1313

1414
%--PLOTLY--%
15-
response = fig2plotly(fig, 'strip', false); % &lt;----- preserve MATLAB style!
15+
16+
% strip = false =&gt; preserve MATLAB style!
17+
18+
response = fig2plotly(fig, 'filename', 'matlab-bubble-chart', 'strip', false);
1619
plotly_url = response.url;

test-published/api-docs/chart-types/line_exclusive/matlab-basic-line/matlab/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ fig = figure;
1010
plot(x,y1,x,y2);
1111

1212
%--PLOTLY--%
13-
response = fig2plotly(fig);
13+
response = fig2plotly(fig, 'filename', 'matlab-basic-line');
1414
plotly_url = response.url;

test-published/api-docs/chart-types/line_exclusive/matlab-line-markers/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ plot(x, y0, 'r+', x, y1, 'go', x, y2, 'b*', x, y3, 'cx', ...
1818
x, y4, 'ms', x, y5, 'yd', x, y6, 'kv');
1919

2020
%--PLOTLY--%
21-
response = fig2plotly(fig, 'strip', false); % &lt;----- preserve MATLAB style!
21+
22+
% strip = false =&gt; preserve MATLAB style!
23+
24+
response = fig2plotly(fig, 'filename', 'matlab-line-markers', 'strip', false);
2225
plotly_url = response.url;

test-published/api-docs/chart-types/line_exclusive/matlab-line-style/matlab/code.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ y3 = sin(x-0.5);
1010
fig = figure;
1111
hold on
1212

13-
plot(x,y1,'Color',[150 244 100]/255,'LineWidth',3,'LineStyle','-.');
14-
plot(x,y2,'Color',[201 24 100]/255,'LineWidth',3,'LineStyle','--');
15-
plot(x,y3,'Color',[21 24 250]/255,'LineWidth',2,'LineStyle','o');
16-
13+
plot(x,y1,'Color',[50 204 10]/255,'LineWidth',3,'LineStyle','-.');
14+
plot(x,y2,'Color',[21 24 100]/255,'LineWidth',3,'LineStyle','--');
15+
plot(x,y3,'Color',[201 24 50]/255,'LineWidth',2,'LineStyle','o');
1716

1817
%--PLOTLY--%
19-
response = fig2plotly(fig, 'strip', false); % &lt;----- preserve MATLAB style!
18+
19+
% strip = false =&gt; preserve MATLAB style!
20+
21+
response = fig2plotly(fig, 'filename', 'matlab-line-style', 'strip', false);
2022
plotly_url = response.url;

test-published/api-docs/chart-types/scatter_exclusive/matlab-scatter-plot/matlab/code.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ xlabel('Longitude');
1515
ylabel('Latitude');
1616

1717
%--PLOTLY--%
18-
response = fig2plotly(fig, 'strip', false); %&lt;----- preserve MATLAB style!
18+
19+
% strip = false =&gt; preserve MATLAB style!
20+
21+
response = fig2plotly(fig, 'filename', 'matlab-scatter-plot', 'strip', false);
1922
plotly_url = response.url;

tree.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,8 @@
772772
"path": "hard-coded/chart-types/bubble/matlab-bubble-chart",
773773
"publish-matlab": "published/api-docs/chart-types/bubble/matlab-bubble-chart/matlab/code.txt",
774774
"publish-url": "https://plot.ly/~PlotBot/113",
775+
"test-matlab": "test-published/api-docs/chart-types/bubble/matlab-bubble-chart/matlab/code.txt",
776+
"test-url": "https://plot.ly/~TestBot/169",
775777
"type": "script",
776778
"url": "https://plot.ly/~TestBot/439"
777779
},

0 commit comments

Comments
 (0)