Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a7474 commit 77b0a8bCopy full SHA for 77b0a8b
plotly/plotlyfig.m
@@ -390,7 +390,11 @@ function validate(obj)
390
391
% validate data fields
392
for d = 1:length(obj.data)
393
- obj.stripkeys(obj.data{d}, obj.data{d}.type, {'style','plot_info'});
+ try
394
+ obj.stripkeys(obj.data{d}, obj.data{d}.type, {'style','plot_info'});
395
+ catch
396
+ % TODO
397
+ end
398
end
399
400
% validate layout fields
@@ -1068,7 +1072,7 @@ function delete(obj)
1068
1072
methods (Access=private)
1069
1073
%----STRIP THE FIELDS OF A SPECIFIED KEY-----%
1070
1074
function stripped = stripkeys(obj, fields, fieldname, key)
1071
-
1075
+
1076
%plorlt reference
1077
pr = obj.PlotlyReference;
1078
0 commit comments