Skip to content

Commit e2c5b03

Browse files
committed
fix whitespace in plotlyoffline working directory + update version
1 parent eb626c1 commit e2c5b03

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## MATLAB PLOTLY API WRAPPER 2.2.0
1+
## MATLAB PLOTLY API WRAPPER 2.2.1
22

33
### NUTSHELL:
44

plotly/plotly_aux/plotly_version.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
function version = plotly_version()
2-
version = '2.2.0';
2+
version = '2.2.1';
33
end

plotly/plotly_offline_aux/plotlyoffline.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
fprintf(file_id, offline_script);
7979
fclose(file_id);
8080

81+
% remove any whitespace from the plotly_offline_file path
82+
plotly_offline_file = strrep(plotly_offline_file, ' ', '%20');
83+
8184
% return the local file url to be rendered in the browser
8285
response = ['file://' plotly_offline_file];
8386

0 commit comments

Comments
 (0)