-import numpy as np
-import matplotlib.pyplot as plt
-from matplotlib.cm import ScalarMappable
-from matplotlib.colors import Normalize
-
-from pvlib.bifacial import power_mismatch_deline
-
# %%
# Problem description
# -------------------
@@ -58,12 +51,20 @@
#
# Here we set and plot the global irradiance level of each cell.
+import numpy as np
+import matplotlib.pyplot as plt
+from matplotlib.cm import ScalarMappable
+from matplotlib.colors import Normalize
+
+from pvlib.bifacial import power_mismatch_deline
+
x = np.arange(12, 0, -1)
y = np.arange(6, 0, -1)
cells_irrad = np.repeat([1059, 976, 967, 986, 1034, 1128], len(x)).reshape(
len(y), len(x)
)
+# plot the irradiance levels of each cell
color_map = "gray"
color_norm = Normalize(930, 1150)
From df5ca46562b52880f18f2a8aff1162318175da2f Mon Sep 17 00:00:00 2001
From: echedey-ls <80125792+echedey-ls@users.noreply.github.com>
Date: Thu, 18 Jul 2024 12:00:57 +0200
Subject: [PATCH 4/4] Update docs version switcher text
Co-Authored-By: RDaxini <143435106+RDaxini@users.noreply.github.com>
---
docs/sphinx/source/_static/version-alert.js | 2 +-
docs/sphinx/source/user_guide/faq.rst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/sphinx/source/_static/version-alert.js b/docs/sphinx/source/_static/version-alert.js
index e8179a6c2f..09f142d3d0 100644
--- a/docs/sphinx/source/_static/version-alert.js
+++ b/docs/sphinx/source/_static/version-alert.js
@@ -47,7 +47,7 @@ function warnOnLatestVersion() {
" " +
"This document is for an unreleased development version. " +
"Documentation is available for the current stable release, " +
- "or for older versions through the “v:” menu at bottom right." +
+ "or for older versions through the “v:” menu at bottom left." +
"
";
warning.querySelector('a').href = window.location.pathname.replace('/latest', '/stable');
diff --git a/docs/sphinx/source/user_guide/faq.rst b/docs/sphinx/source/user_guide/faq.rst
index 39e3bec841..f87fa101b5 100644
--- a/docs/sphinx/source/user_guide/faq.rst
+++ b/docs/sphinx/source/user_guide/faq.rst
@@ -123,7 +123,7 @@ If you see a function in the pvlib documentation that doesn't seem to exist
in your pvlib installation, the documentation is likely for a different version
of pvlib. You can check your installed pvlib version by running
``print(pvlib.__version__)`` in python. To switch documentation versions, use
-the `v:` version switcher widget in the bottom right corner of this page.
+the `v:` version switcher widget in the bottom left corner of this page.
You can also upgrade your installed pvlib to the latest compatible version
with ``pip install -U pvlib``, but be sure to check the :ref:`whatsnew`