Skip to content

Update Descriptions for Colorscale #186

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
Jan 18, 2016
Merged

Conversation

mdtusz
Copy link
Contributor

@mdtusz mdtusz commented Jan 15, 2016

Resolves #178. I'm not 100% sure if this is in the right place, and you may have a better way to word the description. Quick pr though.

Also changed: the compress_attributes regex for string arrays that are joined. This will allow for any content in the string (before, [ and ] would break it.

@mdtusz mdtusz changed the title Update Descriptions for Colorscale WIP: Update Descriptions for Colorscale Jan 15, 2016
@mdtusz mdtusz changed the title WIP: Update Descriptions for Colorscale Update Descriptions for Colorscale Jan 15, 2016
@mdtusz
Copy link
Contributor Author

mdtusz commented Jan 15, 2016

Seems that the tests on Circle failed because of the server failing to start/connect again.

description: [
'Sets the colorscale.',
'The colorscale must be an array containing',
'arrays mapping a normalized value to an rgb color. At minimum, a',
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't have to be an rgb color. rgba, hex, hsl should be fine as described here

Copy link
Contributor

Choose a reason for hiding this comment

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

If you're down, I would add:

To control the bounds of the colorscale in z space, use zmin and zmax.

@etpinard
Copy link
Contributor

💃

mdtusz added a commit that referenced this pull request Jan 18, 2016
@mdtusz mdtusz merged commit 9cebd58 into master Jan 18, 2016
@mdtusz mdtusz deleted the improve-colorscale-description branch January 18, 2016 16:37
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