Skip to content

AlphaData Name-Value Argument not working #282

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

Closed
xarico10 opened this issue Aug 3, 2021 · 1 comment
Closed

AlphaData Name-Value Argument not working #282

xarico10 opened this issue Aug 3, 2021 · 1 comment
Assignees

Comments

@xarico10
Copy link
Contributor

xarico10 commented Aug 3, 2021

AlphaData Name-Value input argument to specify transparency not working.

C = [1 2 3; 4 5 6; 7 8 9];
image(C,'AlphaData',0.5);

fig2plotly(gcf, 'offline', false);

The previous code prints the following message:

Unrecognized field name "DisplayName".
We had trouble parsing the image object.
This trace might not render properly.

Expected and generated (https://chart-studio.plotly.com/~xarico10/855/#/) plot:
Captura de Pantalla 2021-08-03 a la(s) 2 18 07 p  m
Captura de Pantalla 2021-08-03 a la(s) 2 18 58 p  m

Examples on using AlphaData can be found on:
https://www.mathworks.com/help/matlab/ref/image.html#burx887-1

@gilbertogalvis
Copy link
Contributor

PR #332 fix this issue

Screen Shot 2021-08-09 at 7 11 52 PM

Screen Shot 2021-08-09 at 7 13 57 PM

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

No branches or pull requests

3 participants