From 240a1b0c9e2af68a63259f09ad04d450c54ca9a2 Mon Sep 17 00:00:00 2001 From: Brian <46735708+byooooo@users.noreply.github.com> Date: Tue, 31 Jan 2023 09:57:44 -0500 Subject: [PATCH] Update __init__.py minor bugfix for plotting correct axes (column = x-axis, row = y-axis) --- src/pyepal/plotting/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyepal/plotting/__init__.py b/src/pyepal/plotting/__init__.py index 0678ef0..66b99cf 100644 --- a/src/pyepal/plotting/__init__.py +++ b/src/pyepal/plotting/__init__.py @@ -335,10 +335,10 @@ def plot_jointplot( # pylint:disable=invalid-name plot_histogram(y[:, row], palinstance, ax[row, column]) else: plot_pareto_front_2d( - y[:, row], y[:, column], - palinstance.std[:, row] * np.sqrt(palinstance.beta), + y[:, row], palinstance.std[:, column] * np.sqrt(palinstance.beta), + palinstance.std[:, row] * np.sqrt(palinstance.beta), palinstance, ax=ax[row, column], )