Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Updated outdated fields from scatter3d
  • Loading branch information
Harsh Purwar committed Aug 17, 2021
commit d6d7cd7ddf4c045d1b1ff84dccd8a76218e21a7d
7 changes: 6 additions & 1 deletion plotly/plotlyfig_aux/handlegraphics/updatePatch.m
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@

else
obj.data{patchIndex}.type = 'scatter3d';
% No xaxis/yaxis fields in obj.data for scatter3d in updated JSON
obj.data{patchIndex} = rmfield(obj.data{patchIndex},'xaxis');
obj.data{patchIndex} = rmfield(obj.data{patchIndex},'yaxis');
end
else
obj.data{patchIndex}.type = 'scatter';
Expand Down Expand Up @@ -149,7 +152,9 @@
%---------------------------------------------------------------------%

%-patch fill-%
obj.data{patchIndex}.fill = 'tozeroy';
if ~strcmp(obj.data{patchIndex}.type,'scatter3d')
obj.data{patchIndex}.fill = 'tozeroy';
end

%-PATCH MODE-%
if ~strcmpi('none', patch_data.Marker) && ~strcmpi('none', patch_data.LineStyle)
Expand Down