From 514798f0841d9769bdbc1a188b54c62a61fe6c1c Mon Sep 17 00:00:00 2001 From: Mark Mikofski Date: Wed, 21 Mar 2018 10:38:10 -0700 Subject: [PATCH 1/2] DOC: fix superscript and legend location * POA irradiance plot s/**/^/g * plt.legend(loc='best') hope this works --- docs/sphinx/source/forecasts.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/source/forecasts.rst b/docs/sphinx/source/forecasts.rst index f227328f02..e5029c8cbf 100644 --- a/docs/sphinx/source/forecasts.rst +++ b/docs/sphinx/source/forecasts.rst @@ -457,7 +457,8 @@ Here's the forecast plane of array irradiance... mc.total_irrad.plot(); @savefig poa_irrad.png width=6in - plt.ylabel('Plane of array irradiance ($W/m**2$)'); + plt.legend(loc='best') + plt.ylabel('Plane of array irradiance ($W/m^2$)'); ...the cell and module temperature... From f7b4187ccf6c469d42c0c54ed7ac277bd4db4222 Mon Sep 17 00:00:00 2001 From: Mark Mikofski Date: Wed, 21 Mar 2018 12:14:30 -0700 Subject: [PATCH 2/2] move legend after semicolon --- docs/sphinx/source/forecasts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/source/forecasts.rst b/docs/sphinx/source/forecasts.rst index e5029c8cbf..006f3a6404 100644 --- a/docs/sphinx/source/forecasts.rst +++ b/docs/sphinx/source/forecasts.rst @@ -457,8 +457,8 @@ Here's the forecast plane of array irradiance... mc.total_irrad.plot(); @savefig poa_irrad.png width=6in - plt.legend(loc='best') plt.ylabel('Plane of array irradiance ($W/m^2$)'); + plt.legend(loc='best'); ...the cell and module temperature...