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

Fix argument parsing for vertex and face colors of mesh3d traces #287

Merged
merged 2 commits into from
Mar 3, 2016

Conversation

mikolalysenko
Copy link
Contributor

This PR fixes a small typo in the argument parsing for mesh3d types. The vertexcolor and facecolor arguments were accidentally capitalized in some of the files. This switches them to be consistent with the lower case form in the defaults and attributes files.

I also added a test case to the dashboard verify that the colors are indeed getting parsed correctly. Here is an image:

screen shot 2016-02-25 at 3 47 17 pm

To verify that it works, go in the gl3d dashboard and open up the example "Tetrahedra". Once this works then we can do trisurf with face colors, just like MATLAB.

CC @etpinard

@etpinard
Copy link
Contributor

Looks good!

Could you download the gl3d_tet.png image in CircleCI artifacts:

image

and the commit it in test/image/baselines ?

etpinard added a commit that referenced this pull request Mar 3, 2016
Fix argument parsing for vertex and face colors of mesh3d traces
@etpinard etpinard merged commit dd15479 into plotly:master Mar 3, 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

Successfully merging this pull request may close these issues.

2 participants