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

Histogram Plot #37

Merged
merged 18 commits into from
Nov 8, 2021
Merged

Histogram Plot #37

merged 18 commits into from
Nov 8, 2021

Conversation

teubert
Copy link
Collaborator

@teubert teubert commented Sep 29, 2021

Created new plot (histogram) that can be used for any UncertainData distribution

Can be called directly from the result of the predictor:

eols.plot_hist() # Simple scatter chart

Everything that's configurable from the hist function in matplotlib is configurable using kwargs, e.g.,

fig = eols.plot_hist(c='b') # Blue

Also, you can specify a subset of the keys to plot. E.g.,

fig = eols.plot_hist(keys=['event1', 'event2']) # Only plot event 1 and event 2

Here's what it looks like:
Screen Shot 2021-09-29 at 4 21 13 PM

@teubert teubert added the enhancement New feature or request label Sep 29, 2021
@teubert teubert linked an issue Sep 29, 2021 that may be closed by this pull request
@teubert teubert marked this pull request as ready for review September 30, 2021 19:48
@teubert
Copy link
Collaborator Author

teubert commented Sep 30, 2021

Issue - only works for UK Predictor (see #50)

@teubert teubert added the component: visualization Plots and figures label Sep 30, 2021
@teubert teubert requested a review from portia19 November 5, 2021 22:24
@teubert teubert merged commit 8d92914 into dev Nov 8, 2021
@teubert teubert deleted the feature/hist_plot branch November 8, 2021 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: visualization Plots and figures enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Single value Histogram
2 participants