plotly / plotly_matlab

Plotly Graphing Library for MATLAB®
https://plot.ly/matlab/
MIT License
381 stars 167 forks source link

fig2plotly fails with boxplot #143

Open greg-harhay opened 5 years ago

greg-harhay commented 5 years ago

When I invoke fig2plotly on a boxplot as in:

boxplot(SQ_reads_mean,'Jitter',0.15); fig2plotly(gcf, 'offline', true, 'open', false, 'filename', 'Control_AAGC_63bp_raw_reads_quality');

the system(Matlab running on a Code Ocean compute capsule) reports the following error:

{Index exceeds matrix dimensions.

Error in updateData (line 100) ~strcmp(obj.data{dataIndex}.type,'box')

Error in plotlyfig/update (line 582) updateData(obj,n);

Error in plotlyfig (line 208) obj.update;

Error in fig2plotly (line 44) p = plotlyfig(varargin{:});

Error in SSR_Control_Account_for_PB_Artifact_Bbedit (line 68) fig2plotly(gcf, 'offline', true, 'open', false, 'filename', 'Control_AAGC_63bp_raw_reads_quality'); }

ksatyaki commented 3 years ago

Still an issue or has this been fixed?

greg-harhay commented 3 years ago

I haven’t checked back on the for a while. I’ll check in the next couple of days and get back to you.

From: Chittaranjan Srinivas Swaminathan notifications@github.com Date: Monday, February 22, 2021 at 9:03 AM To: plotly/plotly-graphing-library-for-matlab plotly-graphing-library-for-matlab@noreply.github.com Cc: Harhay, Gregory - ARS gregory.harhay@usda.gov, Author author@noreply.github.com Subject: Re: [plotly/plotly-graphing-library-for-matlab] fig2plotly fails with boxplot (#143)

Still an issue or has this been fixed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly-graphing-library-for-matlab%2Fissues%2F143%23issuecomment-783437265&data=04%7C01%7C%7Ca0b9c648b70e45a8c12a08d8d7430d31%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637496030271376975%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fk7Y4Rjr4s73cwrYK0Qmh8xy5DYl3tqrZufcgFmTPnQ%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHQFVK3HJY6TWZVQ6VJZC7LTAJW5DANCNFSM4GDP3YPQ&data=04%7C01%7C%7Ca0b9c648b70e45a8c12a08d8d7430d31%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637496030271376975%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MouGQx%2B65rJ5edvFShOZRo7FlVL39hFebdk981EYjp8%3D&reserved=0.

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.