Skip to content

Commit c2cbf77

Browse files
committed
Merge pull request #38 from plotly/octave_fix
Octave fix
2 parents 8bf8bf9 + 9872d34 commit c2cbf77

File tree

6 files changed

+4
-5
lines changed

6 files changed

+4
-5
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.1.5
1+
## MATLAB PLOTLY API WRAPPER 2.1.6
22

33
### NUTSHELL:
44

plotly/plotly_aux/checkescape.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function [ escaped_val ] = check_escape(val)
1+
function escaped_val = checkescape(val)
22
%adds '\' escape character if needed
33
ec = '\';
44
ind = find( (val == '"') | (val == '\' ) | (val == '/' ));

plotly/plotly_aux/m2json.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,5 @@
3434
valstr = 'false';
3535
end
3636
else
37-
disp [val ' iselse'];
3837
valstr = ''; % wtf is it?
3938
end

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.1.5';
2+
version = '2.1.6';
33
end
937 Bytes
Binary file not shown.

plotlysetup.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function plotlysetup(username, api_key, varargin)
134134
end
135135

136136
else %if octave
137-
display('\nOctave users: Automatic Plotly API embedding coming soon!\n');
137+
fprintf('\n\nOctave users: Automatic Plotly API embedding coming soon!\n\n');
138138
end %end check for matlab...
139139

140140
try %save user credentials

0 commit comments

Comments
 (0)