Skip to content

Commit

Permalink
Plot limits added in docs\examples\iv-modeling\plot_singlediode.py (#…
Browse files Browse the repository at this point in the history
…2181)

Co-authored-by: Nicolau <[email protected]>
  • Loading branch information
BernatNicolau and bernatnic authored Aug 28, 2024
1 parent cbfa292 commit aaf42f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/examples/iv-modeling/plot_singlediode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]')
Expand Down

0 comments on commit aaf42f6

Please sign in to comment.