Commit adb112e
committed
Add DistributionPlot and remove GKDE-plot
DistributionPlot implementation
Removed GKDE, including references in plot_window-tests
Added DistributionPlot and corresponding tests. The plot implements
three methods of plotting the distribution:
- Gaussian KDE
- Overlapping Histogram (y-axis can be set to count or density)
- Rug plots for to visualize the raw datapoints.
Behaviour of the plot changes depending of what plots are toggled.
If GKDE or Hist. is turned off, the rugplots will act as the main window
otherwise, they will be a supporting plot underneath the "main" plot-window
If multiple ensembles are selected the overlapping histograms can become muddied
and hard to distinquish. This is not a common use-case as most users will only select
first and last.
No screenshot-test added, only unit testing. Plot will likely undergo refactoring/updates,
so will await screenshot-testing until "stable".
Note: Cannot remove original HistogramPlot as of now, as the new plot can not
handle categorical data yet.1 parent add21aa commit adb112e
10 files changed
Lines changed: 707 additions & 242 deletions
File tree
- src/ert/gui/plotting
- ert_plots
- utils
- tests/ert
- ui_tests/gui
- unit_tests/gui
- plotting
- ert_plots
- widgets
- tools/plot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
0 commit comments