diff --git a/docs/examples/iv-modeling/plot_singlediode.py b/docs/examples/iv-modeling/plot_singlediode.py index c8cbe506ca..1cdda9f348 100644 --- a/docs/examples/iv-modeling/plot_singlediode.py +++ b/docs/examples/iv-modeling/plot_singlediode.py @@ -118,7 +118,6 @@ plt.xlabel('Module voltage [V]') plt.ylabel('Module current [A]') plt.title(parameters['Name']) -plt.show() plt.gcf().set_tight_layout(True) @@ -136,6 +135,7 @@ def draw_arrow(ax, label, x0, y0, rotation, size, direction): ax = plt.gca() draw_arrow(ax, 'Irradiance', 20, 2.5, 90, 15, 'r') draw_arrow(ax, 'Temperature', 35, 1, 0, 15, 'l') +plt.show() print(pd.DataFrame({ 'i_sc': curve_info['i_sc'], diff --git a/docs/sphinx/source/whatsnew/v0.10.3.rst b/docs/sphinx/source/whatsnew/v0.10.3.rst index 0853254983..8bdc2cf98f 100644 --- a/docs/sphinx/source/whatsnew/v0.10.3.rst +++ b/docs/sphinx/source/whatsnew/v0.10.3.rst @@ -24,7 +24,7 @@ Testing Documentation ~~~~~~~~~~~~~ - +* Fixed a plotting issue in the IV curve gallery example (:pull:`1895`) Contributors ~~~~~~~~~~~~