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

use domain min rather than zero for _voronoi point when voronoiDimens… #1871

Merged
merged 1 commit into from
Jun 1, 2021

Conversation

boygirl
Copy link
Contributor

@boygirl boygirl commented Jun 1, 2021

…ion is given

Fixes #1857

VictoryVoronoiContainer sets _voronoiX and _voronoiY points for each datum that are used to calculate the set of nearest points, When a voronoiDimension is given, the opposite dimension voronoi point is always set to zero, which works fine for normal scales, but breaks log scales.

This PR uses the domain min rather than zero for the default voronoi point

@boygirl boygirl merged commit 625f4a7 into main Jun 1, 2021
@boygirl boygirl deleted the bug/log-scale-voronoi branch June 1, 2021 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant