From 38cc92efd3493ff8d87bd0cf09d07316f3c97ae6 Mon Sep 17 00:00:00 2001 From: ymlesni Date: Tue, 20 May 2025 21:17:46 +0200 Subject: [PATCH] Update sample_app.py --- sample_app.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sample_app.py b/sample_app.py index 1138c64..ff9ef40 100644 --- a/sample_app.py +++ b/sample_app.py @@ -6,7 +6,6 @@ # See also https://docs.cyfronet.pl/display/ISDOC/Creating+Custom+Applications import numpy as np -import matplotlib.pyplot as plt def main(numbers_file, multiplier): """ @@ -23,7 +22,4 @@ def main(numbers_file, multiplier): numbers = np.genfromtxt(numbers_file, comments="#", delimiter=",", unpack=False) numbers = numbers[~np.isnan(numbers)] numbers = np.array(numbers).flatten() - multiplied_numbers = numbers * multiplier - plt.figure() - plt.plot(multiplied_numbers) - plt.savefig('multiplied_numbers_plot.png') \ No newline at end of file + multiplied_numbers = numbers * multiplier \ No newline at end of file