Skip to content

Commit

Permalink
Remove get_html_theme_path
Browse files Browse the repository at this point in the history
  • Loading branch information
enekomartinmartinez committed Nov 12, 2024
1 parent e945b97 commit 9ef8522
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@


html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]


# -- General configuration ------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File: docs/requirements.txt

sphinx>=7.0.0
sphinx_rtd_theme>=1.0.0
sphinx>=8.0.0
sphinx_rtd_theme>=3.0.0
readthedocs-sphinx-search>=0.3.2
jinja2>=3.0.0
mock
Expand Down
1 change: 1 addition & 0 deletions docs/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Internal Changes
- Ensure proper shape of inputs when loading external data.

- Avoid :py:class:`DeprecationWarning` raised in `invert_matrix`` test.
- Remove `get_html_theme_path` from docs conf.

v3.14.1 (2024/07/18)
--------------------
Expand Down
7 changes: 4 additions & 3 deletions pysd/py_backend/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,11 +977,12 @@ def _initialize(self):
if len(self.coords) > 0:
reshape_dims = tuple(utils.compute_shape(self.coords))
data = self._reshape(data, reshape_dims)
data = xr.DataArray(
return xr.DataArray(
data=data, coords=self.coords, dims=list(self.coords)
)

return data
else:
# need to ensure float is returned and not numpy.float
return float(data)

def _get_constant_data(self, data_across, cell, shape):
"""
Expand Down

0 comments on commit 9ef8522

Please sign in to comment.