plotly / plotly/plotly_matlab

Transparency MarkerFaceAlpha and MarkerEdgeAlpha Name-Value arguments not working

Open
#190 0 comments 0 reactions 1 assignee View on GitHub

@gilbertogalvis is already working on this.

Since Oct 16, 2021.

⭐⭐⭐ multiplier
Dominant language
MATLAB
Stars
413
Forks
166
PR merge metrics
No merged PRs in 30d

Description

Code:

rng(1)
x1 = ones(1,500);
x2 = 2 * ones(1,500);
x = [x1 x2];
y1 = 2 * randn(1,500);
y2 = [randn(1,250) randn(1,250) + 4];
y = [y1 y2];
swarmchart(x,y,'filled','MarkerFaceAlpha',0.5,'MarkerEdgeAlpha',0.5)

fig2plotly();

The previous code should plot clearer edges and fill color in the markers, however, is not.

Expected and generated (https://chart-studio.plotly.com/~xarico10/431/#/) plots:
Captura de Pantalla 2021-07-26 a la(s) 12 41 23 p  m
Captura de Pantalla 2021-07-26 a la(s) 12 41 36 p  m

An example on using these Name-Value arguments can be found on:
https://www.mathworks.com/help/matlab/ref/swarmchart.html#mw_bcfda3c4-f6bc-408d-b72f-b456acbc77f0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.