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

Make surface contour highlights on hover toggleable #459

Merged
merged 10 commits into from
Apr 26, 2016
Merged

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Apr 21, 2016

@mdtusz @cldougl

In brief

This PR:

  • makes surface contour highlights on hover toggleable through the contours.?.highlight attribute (we weren't updating the correct gl-surface3d property).
  • fixes a typo (or maybe a careless mistake) in the surface attributes: highlightColor is now highlightcolor and highlightWidth is now highlightwidth. A backward compatibility block is added.
  • makes the surface contours line and scene spikes use Color.defaultLine as default (like everybody else 😃 ).
  • adds several missing surface attribute descriptions.

@etpinard etpinard added bug something broken status: reviewable labels Apr 21, 2016
@@ -20,8 +20,12 @@ function makeContourProjAttr(axLetter) {
role: 'info',
dflt: false,
description: [
'Sets whether or not the dynamic contours are projected',
'along the', axLetter, 'axis.'
'Determines whether or not these contour lines are projected',
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 (or someone else from the doc team) could you review ⬇️ ?

Copy link
Member

Choose a reason for hiding this comment

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

Clear to me!

@@ -711,8 +711,12 @@ describe('Test plot api', function() {
}
}];

spyOn(Plots.subplotsRegistry.gl3d, 'plot');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fyi @mdtusz @monfera quick and dirty trick to test Plotly.plot with gl traces in a way that works on CircleCI.

@mdtusz
Copy link
Contributor

mdtusz commented Apr 26, 2016

Looks good to me! Shame about the attribute name typo, but such is life.

💃

@etpinard etpinard merged commit 4f8f055 into master Apr 26, 2016
@etpinard etpinard deleted the surface-highlight branch April 26, 2016 17:58
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