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

Allow PositionX/Y/XY streams to work with categorical axes #1094

Merged
merged 1 commit into from
Jan 31, 2017

Conversation

philippjfr
Copy link
Member

Changes the parameter types of these stream types to allow strings from categorical axes, allowing them to work with HeatMap and other categorical plots.

@jbednar
Copy link
Member

jbednar commented Jan 31, 2017

Looks good. Is numbers.Number better or worse than (int, float)?

@jlstevens
Copy link
Contributor

Although the use of ClassSelector makes the definition of PositionXY look less trivial than before (which I liked), people using this stream class won't notice any difference relative to the old version (unless they look at the docs) and the new version will now work in more cases.

Therefore, I think this approach is better in terms of usability which outweighs the value of having a nice, trivial stream definition in the code. Merging.

@jlstevens jlstevens merged commit 7041e28 into master Jan 31, 2017
@philippjfr philippjfr deleted the heatmap_position_stream branch February 10, 2017 01:00
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 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants