Skip to content

Commit

Permalink
plot limits added
Browse files Browse the repository at this point in the history
  • Loading branch information
bernatnic committed Aug 26, 2024
1 parent e2b1d9b commit 481ee02
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 481ee02

Please sign in to comment.