Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change URL of online community on community.plotly.com #471

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.mkdn
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ This lives here: [https://plot.ly/matlab](https://plot.ly/matlab)

## Questions & troubleshooting

- https://community.plotly.com/c/api/matlab/
- https://community.plotly.com/c/graphing-libraries/matlab/

## Contribute

Expand Down
4 changes: 2 additions & 2 deletions plotly/plotly_setup_aux/addplotlystartup.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
if currentStartupID == -1, error('plotly:startupRead',...
['\n\nShoot! It looks like something went wrong reading the file: ' ...
'\n' startupPaths{locs} '\n' ...
'\nPlease contact your system admin or post a topic on https://community.plotly.com/c/api/matlab/ for more \ninformation. In the ' ...
'\nPlease contact your system admin or post a topic on https://community.plotly.com/c/graphing-libraries/matlab/ for more \ninformation. In the ' ...
'mean time you can add the Plotly API \nto your search path manually whenever you need it! \n\n']);
end
%check for any instances of the addplotlyapi function
Expand All @@ -29,7 +29,7 @@
if currentStartupID == -1, error('plotly:startupWrite',...
['\n\nShoot! It looks like something went wrong writing to the file: ' ...
'\n\n' startupPaths{locs} '\n' ...
'\nPlease contact your system admin or post a topic on https://community.plotly.com/c/api/matlab/ for more \ninformation. In the ' ...
'\nPlease contact your system admin or post a topic on https://community.plotly.com/c/graphing-libraries/matlab/ for more \ninformation. In the ' ...
'mean time you can add the Plotly API \nto your search path manually whenever you need it! \n']);
end
fprintf(currentStartupID,['\n' addString]);
Expand Down
2 changes: 1 addition & 1 deletion plotly/plotly_setup_aux/plotlycleanup.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
error('plotly:deletePlotlyAPI',...
['\n\nShoot! It looks like something went wrong removing the Plotly API ' ...
'from the MATLAB toolbox directory \n' ...
'Please contact your system admin or post a topic on https://community.plotly.com/c/api/matlab/ for more information. \n\n']);
'Please contact your system admin or post a topic on https://community.plotly.com/c/graphing-libraries/matlab/ for more information. \n\n']);
end

% update removed list
Expand Down
7 changes: 5 additions & 2 deletions plotly/plotlyfig_aux/helpers/extractPatchFace.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@

%-paper_bgcolor-%
col = 255*patch_data.FaceColor;
marker.color = ['rgb(' num2str(col(1)) ',' num2str(col(2)) ',' num2str(col(3)) ')'];

if ~isempty(patch_data.FaceAlpha) && isnumeric(patch_data.FaceAlpha)
marker.color = ['rgba(' num2str(col(1)) ',' num2str(col(2)) ',' num2str(col(3)) ',', num2str(patch_data.FaceAlpha), ')'];
else
marker.color = ['rgb(' num2str(col(1)) ',' num2str(col(2)) ',' num2str(col(3)) ')'];
end
else
switch patch_data.FaceColor

Expand Down
4 changes: 2 additions & 2 deletions plotly/plotlyfig_aux/helpers/plotlymsg.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
case 'plotlyfigConstructor:invalidInputs'
errormsg = ['\nOops! It appears that you did not initialize the plotlyfig object using the\n', ...
'required: >> plotlyfig(handle [optional],''property'',''value'',...) \n',...
'input structure. Please try again or post a topic on https://community.plotly.com/c/api/matlab/ for any additional help!\n\n'];
'input structure. Please try again or post a topic on https://community.plotly.com/c/graphing-libraries/matlab/ for any additional help!\n\n'];
%--saveplotlyfig invocation--%;
case 'plotlySaveImage:invalidInputs'
errormsg = ['\nOops! It appears that you did not invoke the saveplotlyfig function using the\n', ...
'required: >> saveplotlyfig(plotly_figure, ...) input structure, where plotly_figure\n',...
'is of type cell (for data traces) or of type struct (with data and layout fields). \n',...
'Please try again or post a topic on https://community.plotly.com/c/api/matlab/ for any additional help!\n\n'];
'Please try again or post a topic on https://community.plotly.com/c/graphing-libraries/matlab/ for any additional help!\n\n'];

end
end
2 changes: 1 addition & 1 deletion plotly/plotlystream_aux/plotlystream_demo.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
catch
fprintf(['\nOops - No stream_keys found! please run: >>saveplotlycredentials(',...
' ''username'',''api_key'',''stream_key).'' \n',...
'Your stream key(s) can be found online at: https://plot.ly or post a topic on https://community.plotly.com/c/api/matlab/',...
'Your stream key(s) can be found online at: https://plot.ly or post a topic on https://community.plotly.com/c/graphing-libraries/matlab/',...
'for more information.\n\n']);
return
end
Expand Down
6 changes: 3 additions & 3 deletions plotlysetup_offline.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function plotlysetup_offline(plotly_bundle_url, varargin)
error('plotly:wrongInput',....
['\n\nWhoops! Wrong number of inputs. Please run >> help plotlysetup_offline \n',...
'for more information regarding the setup your Plotly API MATLAB \n',...
'Library. Please post a topic on https://community.plotly.com/c/api/matlab/ for more information.']);
'Library. Please post a topic on https://community.plotly.com/c/graphing-libraries/matlab/ for more information.']);
end
catch exception %plotlysetup input problem catch...
fprintf(['\n\n' exception.identifier exception.message '\n\n']);
Expand All @@ -33,7 +33,7 @@ function plotlysetup_offline(plotly_bundle_url, varargin)
error('plotly:notFound',...
['\n\nShoot! It looks like MATLAB is having trouble finding the current version ' ...
'\nof Plotly. Please make sure that the Plotly API folder is in the same ' ...
'\ndirectory as plotlysetup.m. Questions? Ask https://community.plotly.com/c/api/matlab/\n\n']);
'\ndirectory as plotlysetup.m. Questions? Ask https://community.plotly.com/c/graphing-libraries/matlab/\n\n']);
end
%add Plotly API MATLAB Library to search path
addpath(genpath(plotlyFolderPath));
Expand Down Expand Up @@ -151,7 +151,7 @@ function plotlysetup_offline(plotly_bundle_url, varargin)
'the Plotly folder to your MATLAB path manually by running: \n\n',...
'>> plotly_path = fullfile(pwd, ''plotly'')\n',...
'>> addpath(genpath(plotly_path))\n\n',...
'Questions? Ask https://community.plotly.com/c/api/matlab/\n\n'];
'Questions? Ask https://community.plotly.com/c/graphing-libraries/matlab/\n\n'];
end


8 changes: 4 additions & 4 deletions plotlysetup_online.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function plotlysetup_online(username, api_key, varargin)
error('plotly:wrongInput',....
['\n\nWhoops! Wrong number of inputs. Please run >> help plotlysetup_online \n',...
'for more information regarding the setup your Plotly API MATLAB \n',...
'Library. Please post a topic on https://community.plotly.com/c/api/matlab/ for more information.']);
'Library. Please post a topic on https://community.plotly.com/c/graphing-libraries/matlab/ for more information.']);
end
catch exception %plotlysetup input problem catch...
fprintf(['\n\n' exception.identifier exception.message '\n\n']);
Expand All @@ -35,7 +35,7 @@ function plotlysetup_online(username, api_key, varargin)
error('plotly:notFound',...
['\n\nShoot! It looks like MATLAB is having trouble finding the current version ' ...
'\nof Plotly. Please make sure that the Plotly API folder is in the same ' ...
'\ndirectory as plotlysetup.m. Questions? Ask on https://community.plotly.com/c/api/matlab/\n\n']);
'\ndirectory as plotlysetup.m. Questions? Ask on https://community.plotly.com/c/graphing-libraries/matlab/\n\n']);
end
%add Plotly API MATLAB Library to search path
addpath(genpath(plotlyFolderPath));
Expand Down Expand Up @@ -157,7 +157,7 @@ function plotlysetup_online(username, api_key, varargin)
['\n\nWhoops! Wrong number of varargin inputs. Please run >> help plotlysetup \n',...
'for more information regarding the setup of your Plotly API MATLAB Library. \n',...
'Your stream_ids, plotly_domain, and plotly_streaming domain were not set. \n',...
'Questions? Please post on https://community.plotly.com/c/api/matlab/22.']);
'Questions? Please post on https://community.plotly.com/c/graphing-libraries/matlab/22.']);
end

for n = 1:2:numel(varargin)
Expand Down Expand Up @@ -223,6 +223,6 @@ function plotlysetup_online(username, api_key, varargin)
'>>saveplotlycredentials(''your_username'', ''your_api_key'')\n\n',...
'You can save your domain configuration by running:\n\n',...
'>>saveplotlyconfig(''your_base_domain'')\n\n',...
'Questions? Ask https://community.plotly.com/c/api/matlab/\n\n'];
'Questions? Ask https://community.plotly.com/c/graphing-libraries/matlab/\n\n'];
end