Skip to content

Commit 4001456

Browse files
Use https for the default plotly bundle URL
1 parent fde5bb6 commit 4001456

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎plotlysetup_offline.m‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function plotlysetup_offline(plotly_bundle_url, varargin)
22
% CALL: plotlysetup_offline(plotly_bundle_url);
3-
% WHERE: plotly_bundle_url is the plotly bundle url, e.g. http://cdn.plot.ly/plotly-latest.min.js
4-
% If no argument is provided, the default http://cdn.plot.ly/plotly-latest.min.js is used.
3+
% WHERE: plotly_bundle_url is the plotly bundle url, e.g. https://cdn.plot.ly/plotly-latest.min.js
4+
% If no argument is provided, the default https://cdn.plot.ly/plotly-latest.min.js is used.
55
% [1] adds plotly api to matlabroot/toolboxes. If successful do [2]
66
% [2] adds plotly api to searchpath via startup.m of matlabroot and/or userpath
77

@@ -11,7 +11,7 @@ function plotlysetup_offline(plotly_bundle_url, varargin)
1111

1212
try %check number of inputs
1313
if nargin == 0
14-
plotly_bundle_url = 'http://cdn.plot.ly/plotly-latest.min.js';
14+
plotly_bundle_url = 'https://cdn.plot.ly/plotly-latest.min.js';
1515
elseif nargin>1
1616
error('plotly:wrongInput',....
1717
['\n\nWhoops! Wrong number of inputs. Please run >> help plotlysetup_offline \n',...

0 commit comments

Comments
 (0)