From 075382cfb03f899737361d1ec774f5d0ad95eb86 Mon Sep 17 00:00:00 2001 From: Lenoctambule <106790775+lenoctambule@users.noreply.github.com> Date: Thu, 9 Apr 2026 18:43:27 +0200 Subject: [PATCH] fix(mnist_test.py): subplot invalid ncols --- examples/mnist_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mnist_test.py b/examples/mnist_test.py index 7aff0f9..5e68c9a 100644 --- a/examples/mnist_test.py +++ b/examples/mnist_test.py @@ -89,12 +89,12 @@ def plot_random_reconstruction(autoencoder: AAutoencoder, img_shape, y): output, code = autoencoder.forward(example.flatten()) - plt.subplot(1, 3, 1) + plt.subplot(1, 2, 1) plt.matshow( example.reshape(img_shape), fignum=False) plt.title(f"Input ({y})") - plt.subplot(1, 3, 2) + plt.subplot(1, 2, 2) plt.matshow( output.reshape(img_shape), fignum=False)