Skip to content

Commit 8f2c20b

Browse files
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 476e02b commit 8f2c20b

9 files changed

Lines changed: 387 additions & 362 deletions

File tree

src/ert/gui/plotting/ert_plots/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from .cesp import CrossEnsembleStatisticsPlot
22
from .distribution import DistributionPlot
3-
from .gaussian_kde import GaussianKDEPlot
43
from .histogram import HistogramPlot
54
from .misfits import MisfitsPlot
65
from .statistics import StatisticsPlot
@@ -9,7 +8,6 @@
98
__all__ = [
109
"CrossEnsembleStatisticsPlot",
1110
"DistributionPlot",
12-
"GaussianKDEPlot",
1311
"HistogramPlot",
1412
"MisfitsPlot",
1513
"StatisticsPlot",

0 commit comments

Comments
 (0)