Skip to content

Reflect scatter3d marker opacity reality in attributes #114

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

Merged
merged 2 commits into from
Dec 17, 2015

Conversation

etpinard
Copy link
Contributor

@cldougl @mdtusz

marker.opacity in scatter3d traces must a be scalar. That is, it doesn't support arrays of scalar like its scatter counterpart. We made this decision for performance reasons. Marker opacity arrays would require an extra pass over the data on every render loop.

Before this PR, this coercion was made here but wasn't reflected in the scatter3d trace attributes.

- which reflects the logic in the convert step
- add custom description for scatter3d marker.opacity
'must be a scalar value for performance reasons.',
'To set a blending opacity value',
'(i.e. which is not transparent), set *marker.color*',
'to an rgba color and use its alpha channel.'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cldougl I could use a proof reader.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice- looks great to me!

@cldougl
Copy link
Member

cldougl commented Dec 17, 2015

💃

etpinard added a commit that referenced this pull request Dec 17, 2015
Reflect scatter3d marker opacity reality in attributes
@etpinard etpinard merged commit bf3f875 into master Dec 17, 2015
@etpinard etpinard deleted the marker-opacity-3d branch December 17, 2015 18:07
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 this pull request may close these issues.

2 participants