Skip to content
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

remove noOpacity flag from surface index #4344

Merged
merged 3 commits into from
Nov 9, 2019
Merged

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Nov 8, 2019

This PR simply removes the confusing noOpacity flag from surface index file.
Please note that the opacity used to be (& would remain) available in surface plot as the attribute was added by module opacity later in the process by plot_schema.

@alexcjohnson
cc: @plotly/plotly_js

- the paper_bgcolor also has alpha
- the first scene is rendered weirdly
"scene1": {
"domain": {
"x": [0, 0.25],
"y": [0, 0.25]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"y": [0, 0.25]
"y": [0, 0.5]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good eye! Done in 0dd8748.
I also think we may want to close #2477.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃 great catch!

@archmoj archmoj merged commit 0f86036 into master Nov 9, 2019
@archmoj archmoj deleted the surface-cut-noOpacity branch November 9, 2019 01:47
@etpinard
Copy link
Contributor

Thanks @archmoj - I'd call this a (documentation) bug fix as opacity is currently omitted from the surface trace plot schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants