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

Default 'filled' argument not working correctly #176

Closed
xarico10 opened this issue Jul 26, 2021 · 0 comments · Fixed by #227
Closed

Default 'filled' argument not working correctly #176

xarico10 opened this issue Jul 26, 2021 · 0 comments · Fixed by #227
Assignees

Comments

@xarico10
Copy link
Contributor

xarico10 commented Jul 26, 2021

On different types of scatter plots, when the input argument 'filled' is missing, the markers are supposed to be empty, with no fill color. However, this doesn't happen and there's no way to let markers have no fill.

For example:

rng(1)

x = linspace(0,3*pi,200);
y = cos(x) + rand(1,200);
c = linspace(1,30,length(x));
scatter(x,y,[],c)

fig2plotly();

The previous code correctly colors the outside marker's line (zooming in will help to verify it), however, as it fills the markers with a default blue color, the color variation isn't very perceptible. And there's no way to get rid of that default filled characteristic.

Expected and generated (https://chart-studio.plotly.com/~xarico10/301/#/) plots:
Captura de Pantalla 2021-07-25 a la(s) 7 13 50 p  m
Captura de Pantalla 2021-07-25 a la(s) 7 13 41 p  m

Examples on how to use the 'filled' input argument can be found on:
https://www.mathworks.com/help/matlab/ref/scatter.html#btrli6p-1

gilbertogalvis pushed a commit that referenced this issue Jul 30, 2021
@harshpurwar harshpurwar linked a pull request Jul 30, 2021 that will close this issue
harshpurwar added a commit that referenced this issue Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants