Skip to content

[query][ggplot] geom_histogram infers min and max values automatically#11300

Merged
danking merged 7 commits into
hail-is:mainfrom
johnc1231:johnc-hist-two-passes
Feb 3, 2022
Merged

[query][ggplot] geom_histogram infers min and max values automatically#11300
danking merged 7 commits into
hail-is:mainfrom
johnc1231:johnc-hist-two-passes

Conversation

@johnc1231

Copy link
Copy Markdown
Contributor

This PR:

  1. Adds a notion of precomputes, things that need to be computed in advance before we can do the main aggregation to render the plot. Right now, only geom_histogram has these, and they're only present if the user does not specify a minimum or maximum value.

  2. Adjusts the tooltip for histograms to show the range of values that a bar represents, instead of just the x coordinate of the center of the bar. See image for example:

Screen Shot 2022-01-31 at 4 01 54 PM

Comment thread hail/python/test/hail/ggplot/test_ggplot.py Outdated
@danking danking merged commit ccec08b into hail-is:main Feb 3, 2022
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.

3 participants