Skip to content

Commit 537e3f8

Browse files
committed
keep src + event
1 parent 76f6d7d commit 537e3f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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,src,event)
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,src,event)
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,src,event)
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,src,event)
576576
signin(obj.UserData.Username,...
577577
obj.UserData.ApiKey,...
578578
obj.UserData.PlotlyDomain);

0 commit comments

Comments
 (0)