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

Ensure PolyDraw data has consistent keys on initialization #2663

Merged
merged 1 commit into from
May 8, 2018

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented May 7, 2018

Previously the PolyDraw stream renamed the keys in its .data dictionary, but only after initialization. This is inconsistent in two ways, first of all other draw/edit streams give the data consistent keys, such as x0/x1/y0/y1 in the case of BoxEdit or 'xs' and 'ys' in the case of PolyEdit, while this renamed the keys to match the dimensions. We already offer a .element property on the stream, which transforms the columns so it's preferable to give the stream.data consistent naming.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: API labels May 7, 2018
@jlstevens
Copy link
Contributor

Looks good. Merging.

@jlstevens jlstevens merged commit 103e974 into master May 8, 2018
@philippjfr philippjfr deleted the polydraw_data_keys branch July 4, 2018 11:13
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tag: API type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants