From 481ee02bcb04da8c673e88e955d3fd505b5078b4 Mon Sep 17 00:00:00 2001 From: Nicolau Date: Mon, 26 Aug 2024 10:08:41 +0200 Subject: [PATCH] plot limits added --- docs/examples/iv-modeling/plot_singlediode.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/examples/iv-modeling/plot_singlediode.py b/docs/examples/iv-modeling/plot_singlediode.py index 1cdda9f348..69c0079a20 100644 --- a/docs/examples/iv-modeling/plot_singlediode.py +++ b/docs/examples/iv-modeling/plot_singlediode.py @@ -114,6 +114,8 @@ # mark the MPP plt.plot([v_mp], [i_mp], ls='', marker='o', c='k') +plt.xlim(left=0) +plt.ylim(bottom=0) plt.legend(loc=(1.0, 0)) plt.xlabel('Module voltage [V]') plt.ylabel('Module current [A]')