scatter with one point does not show in offline plots
Open
Nobody has claimed this yet.
- Dominant language
- MATLAB
- Stars
- 413
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
In Matlab 2015b:
scatter(1, 1)
p = fig2plotly(gcf, 'offline', true, 'strip', false)
p.data{1}.x = [p.data{1}.x, p.data{1}.x]
p.data{1}.y = [p.data{1}.x, p.data{1}.y]
p.plotly
The first plot does not show any data points. Duplicating the data point, then calling p.plotly again forces the point to show.
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 issue in MATLAB 2015b using scatter(1, 1), fig2plotly(gcf, 'offline', true, 'strip', false), and p.plotly. Start by tracing the offline plotting path used by fig2plotly and p.plotly; done means a single-point scatter plot displays without duplicating its data.
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
- 35/100