Skip to content
Open
Changes from all commits
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
fix nargin < 4 : figure without an extension
add the line code `filename=[filename,'.',char(imageFormat)];`
  • Loading branch information
dennischancs authored Mar 8, 2022
commit c80de8211fbffbd4e406a8ee646f9f75cd386c15
1 change: 1 addition & 0 deletions plotly/export_fig2/write_image.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
width=pfObj.layout.width;
scale=1;
elseif nargin < 4
filename=[filename,'.',char(imageFormat)];
height=pfObj.layout.height;
width=pfObj.layout.width;
scale=1;
Expand Down