From fc31091c28c3d51f01593c8ae6943d6d107cc22e Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Thu, 27 Mar 2025 20:58:14 +0100 Subject: [PATCH] higher resolution picture --- isotables/isotopapp/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isotables/isotopapp/views.py b/isotables/isotopapp/views.py index 723b6a3..c1192cc 100644 --- a/isotables/isotopapp/views.py +++ b/isotables/isotopapp/views.py @@ -104,7 +104,7 @@ def result(request): ax.set_ylabel('z (mm)') buf = BytesIO() - plt.savefig(buf, format='png') + plt.savefig(buf, format='png', dpi=120) figure = base64.b64encode(buf.getvalue()).decode('utf-8').replace('\n', '') buf.close() ans = sorted(close_isotopes, key=lambda x: float(x[3]))