Skip to content

Commit 899b10c

Browse files
echedey-lsRDaxini
andauthored
Remove warnings in docs (#2128)
* Update plot_irradiance_nonuniformity_loss.py * Remove warning from duplicate label /home/docs/checkouts/readthedocs.org/user_builds/pvlib-python/checkouts/2128/pvlib/temperature.py:docstring of pvlib.temperature.pvsyst_cell:35: WARNING: duplicate label of equation pvsyst, other instance in gallery/floating-pv/plot_floating_pv_cell_temperature * Move imports section on `plot_irradiance_nonuniformity_loss.py` Co-Authored-By: RDaxini <[email protected]> * Update docs version switcher text Co-Authored-By: RDaxini <[email protected]> --------- Co-authored-by: RDaxini <[email protected]>
1 parent 2e9c2c0 commit 899b10c

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

docs/examples/bifacial/plot_irradiance_nonuniformity_loss.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,31 @@
4040
#
4141
# .. sectionauthor:: Echedey Luis <echelual (at) gmail.com>
4242

43-
import numpy as np
44-
import matplotlib.pyplot as plt
45-
from matplotlib.cm import ScalarMappable
46-
from matplotlib.colors import Normalize
47-
48-
from pvlib.bifacial import power_mismatch_deline
49-
5043
# %%
5144
# Problem description
5245
# -------------------
5346
# Let's set a fixed irradiance to each cell row of the PV array with the values
5447
# described in Figure 1 (A), [1]_. We will cover this case for educational
5548
# purposes, although it can be achieved with the packages
56-
# :ref:`solarfactors <https://github.com/pvlib/solarfactors/>` and
57-
# :ref:`bifacial_radiance <https://github.com/NREL/bifacial_radiance>`.
49+
# `solarfactors <https://github.com/pvlib/solarfactors/>`_ and
50+
# `bifacial_radiance <https://github.com/NREL/bifacial_radiance>`_.
5851
#
5952
# Here we set and plot the global irradiance level of each cell.
6053

54+
import numpy as np
55+
import matplotlib.pyplot as plt
56+
from matplotlib.cm import ScalarMappable
57+
from matplotlib.colors import Normalize
58+
59+
from pvlib.bifacial import power_mismatch_deline
60+
6161
x = np.arange(12, 0, -1)
6262
y = np.arange(6, 0, -1)
6363
cells_irrad = np.repeat([1059, 976, 967, 986, 1034, 1128], len(x)).reshape(
6464
len(y), len(x)
6565
)
6666

67+
# plot the irradiance levels of each cell
6768
color_map = "gray"
6869
color_norm = Normalize(930, 1150)
6970

docs/examples/floating-pv/plot_floating_pv_cell_temperature.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
The PVSyst model for cell temperature :math:`T_{C}` is given by:
2020
2121
.. math::
22-
:label: pvsyst
2322
2423
T_{C} = T_{a} + \frac{\alpha \cdot E \cdot (1 - \eta_{m})}{U_{c} + U_{v} \cdot WS},
2524

docs/sphinx/source/_static/version-alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function warnOnLatestVersion() {
4747
"<p class='last'> " +
4848
"This document is for an <strong>unreleased development version</strong>. " +
4949
"Documentation is available for the <a href='/en/stable/'>current stable release</a>, " +
50-
"or for older versions through the &ldquo;v:&rdquo; menu at bottom right." +
50+
"or for older versions through the &ldquo;v:&rdquo; menu at bottom left." +
5151
"</p>";
5252
warning.querySelector('a').href = window.location.pathname.replace('/latest', '/stable');
5353

docs/sphinx/source/user_guide/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ If you see a function in the pvlib documentation that doesn't seem to exist
123123
in your pvlib installation, the documentation is likely for a different version
124124
of pvlib. You can check your installed pvlib version by running
125125
``print(pvlib.__version__)`` in python. To switch documentation versions, use
126-
the `v:` version switcher widget in the bottom right corner of this page.
126+
the `v:` version switcher widget in the bottom left corner of this page.
127127

128128
You can also upgrade your installed pvlib to the latest compatible version
129129
with ``pip install -U pvlib``, but be sure to check the :ref:`whatsnew`

0 commit comments

Comments
 (0)