fig2plotly fails with boxplot
Nobody has claimed this yet.
- Dominant language
- MATLAB
- Stars
- 413
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
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');
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the provided MATLAB boxplot and fig2plotly calls. Start in updateData at line 100, then follow the call from plotlyfig/update and fig2plotly; determine why the boxplot data index exceeds the available data. Done means the same boxplot converts without the reported matrix-dimensions error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100