Skip to content

Opacity for 3D plots doesn't behave as expected #610

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
cmcneil opened this issue Nov 20, 2016 · 1 comment
Closed

Opacity for 3D plots doesn't behave as expected #610

cmcneil opened this issue Nov 20, 2016 · 1 comment

Comments

@cmcneil
Copy link

cmcneil commented Nov 20, 2016

Hello,
When plotting a 3D surface using iplot, the opacity parameter does not behave continuously. Setting it to 1.0 will cause full opacity, and setting it to 0.999999 will cause the surface to be VERY transparent, somewhere around 0.5 opacity. It will behave relatively linearly below this point.

surface = Surface(
        x=X,
        y=Y,
        z=Z,
        cmax=-1,
        cmin=1,
        colorscale=[[0, 'rgb(0,0,153)'], [1, 'rgb(0,102,102)']],
        opacity=1.0
)

Expected behavior: The opacity parameter should be continuous. A tiny change in the parameter value should be imperceptible.

@cldougl
Copy link
Member

cldougl commented Nov 29, 2016

Hi there,
This is an issue with our underlying plotly.js library so the issue has been moved to: plotly/plotly.js#1206

@cldougl cldougl closed this as completed Nov 29, 2016
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

2 participants