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

Enable compute_edges with unequally spaced data #2093

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

mforbes
Copy link
Contributor

@mforbes mforbes commented Nov 5, 2017

This is a simple modification that allows one to use QuadMesh etc. with unevenly spaced points without having to explicitly provide the bin boundaries. This simply uses the midpoints as bin boundaries and sets the endpoints as the midpoints of the outer cells. This thus maintains the previous behaviour when equally-spaced points are provided, and now simply allows for unevenly spaced points. (See also issue #1869.)

@mforbes mforbes force-pushed the master branch 2 times, most recently from 1f2b33f to 01153c8 Compare November 5, 2017 03:55
@jlstevens
Copy link
Contributor

Sounds great! I'll assign Philipp as a reviewer as he is the one who'll be able to reason about how your changes might affect other things (e.g casting between element types).

@jlstevens jlstevens requested a review from philippjfr November 5, 2017 13:41
@philippjfr
Copy link
Member

I'm fine with making this change. It shouldn't affect anything else in terms of casting of elements and is usually a safe enough thing to do.

@philippjfr philippjfr merged commit 1bb62a4 into holoviz:master Nov 6, 2017
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants