plotly / plotly/plotly_matlab

Transparency MarkerFaceAlpha and MarkerEdgeAlpha Name-Value arguments not working

Offen
#190 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@gilbertogalvis arbeitet bereits daran.

Seit 16.10.2021.

⭐⭐⭐ multiplier
Vorherrschende Sprache
MATLAB
Sterne
413
Forks
166
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.