From 0d60c08244e557bd596b31bef424667721d72bc8 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Wed, 27 Nov 2024 11:50:56 -0500 Subject: [PATCH] export to svg --- examples/plot_energy_spectra.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/plot_energy_spectra.py b/examples/plot_energy_spectra.py index 5a93893..db51b90 100644 --- a/examples/plot_energy_spectra.py +++ b/examples/plot_energy_spectra.py @@ -34,4 +34,6 @@ plt.ylabel("Neturon energy distribution") plt.yscale("log") plt.legend() +plt.ylim(bottom=1e-3) +plt.savefig("energy_spectra.svg") plt.show()