Skip to content

Commit 76f6d7d

Browse files
committed
2009a fix
1 parent b478cd4 commit 76f6d7d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

plotly/plotly_aux/plotlygenimage.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
function plotlyimage(figure_or_data, filename, varargin)
1+
function plotlygenimage(figure_or_data, filename, varargin)
22

3-
[~, ~, ext] = fileparts(filename);
3+
[pathstr, name, ext] = fileparts(filename);
44
if nargin < 3
55
format = ext(2:length(ext));
66
else

plotly/plotlyfig.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,23 +556,23 @@ function validate(obj)
556556
%-------------------CALLBACK FUNCTIONS--------------------------%
557557

558558
%----UPDATE FIGURE OPTIONS----%
559-
function obj = updateFigureVisible(obj,~,~)
559+
function obj = updateFigureVisible(obj)
560560
% update PlotOptions.Visible
561561
obj.PlotOptions.Visible = get(obj.State.Figure.Handle,'Visible');
562562
end
563563

564-
function obj = updateFigureName(obj,~,~)
564+
function obj = updateFigureName(obj)
565565
% update PlotOptions.Name
566566
obj.PlotOptions.FileName = get(obj.State.Figure.Handle,'Name');
567567
end
568568

569569
%----UPDATE PLOT OPTIONS----%
570-
function obj = updatePlotOptions(obj,~,~)
570+
function obj = updatePlotOptions(obj)
571571
set(obj.State.Figure.Handle, 'Name', obj.PlotOptions.FileName, 'Visible', obj.PlotOptions.Visible);
572572
end
573573

574574
%----UPDATE USER DATA----%
575-
function obj = updateUserData(obj,~,~)
575+
function obj = updateUserData(obj)
576576
signin(obj.UserData.Username,...
577577
obj.UserData.ApiKey,...
578578
obj.UserData.PlotlyDomain);

plotly/plotlyfig_aux/core/updateFigure.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%----UPDATE FIGURE DATA/LAYOUT----%
22

3-
function obj = updateFigure(obj, ~, ~)
3+
function obj = updateFigure(obj)
44

55
%--------PLOTLY LAYOUT FIELDS---------%
66

plotlysetup.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function plotlysetup(username, api_key, varargin)
8585
if(strcmpi(overwrite,'y'))
8686

8787
%move a copy of the Plotly api to matlab root directory
88-
[status, ~, messid] = copyfile(plotlyFolderPath,plotlyToolboxPath);
88+
[status, msg, messid] = copyfile(plotlyFolderPath,plotlyToolboxPath);
8989
%check that the plotly api was copied to the matlab root toolbox directory
9090
if (status == 0)
9191
if(~strcmp(messid, 'MATLAB:COPYFILE:SourceAndDestinationSame'))

0 commit comments

Comments
 (0)