Skip to content

Commit

Permalink
Merge pull request #262 from RocketPy-Team/hotfix-261-251
Browse files Browse the repository at this point in the history
Hotfix for issues 251 and 261
  • Loading branch information
Gui-FernandesBR authored Oct 24, 2022
2 parents d50c12d + d0b3601 commit a9f9fab
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- macos-latest
- windows-latest
python-version:
- 3.8
- 3.7
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
author = "Giovani Hidalgo Ceotto"

# The full version, including alpha/beta/rc tags
release = "0.12.0"
release = "0.12.1"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you want to choose a specific version to guarantee compatibility, you may ins

.. code-block:: shell
pip install rocketpy==0.12.0
pip install rocketpy==0.12.1
Optional Installation Method: ``conda``
Expand Down
8 changes: 4 additions & 4 deletions rocketpy/EnvironmentAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,7 @@ def init():
ax.set_ylabel("Probability")
ax.set_title("Wind Gust Distribution")
# ax.grid(True)
return ln, *bar_container.patches, tx
return (ln, *bar_container.patches, tx)

# Define function which sets each animation frame
def update(frame):
Expand All @@ -2056,7 +2056,7 @@ def update(frame):
ln.set_data(xdata, ydata)
# Update hour text
tx.set_text(f"{float(frame[0]):05.2f}".replace(".", ":"))
return ln, *bar_container.patches, tx
return (ln, *bar_container.patches, tx)

for frame in wind_gusts_at_given_hour.items():
update(frame)
Expand Down Expand Up @@ -2243,7 +2243,7 @@ def init():
label="SAcup wind speed constraints",
) # Plot SAcup wind speed constraints

return ln, *bar_container.patches, tx
return (ln, *bar_container.patches, tx)

# Define function which sets each animation frame
def update(frame):
Expand All @@ -2261,7 +2261,7 @@ def update(frame):
ln.set_data(xdata, ydata)
# Update hour text
tx.set_text(f"{float(frame[0]):05.2f}".replace(".", ":"))
return ln, *bar_container.patches, tx
return (ln, *bar_container.patches, tx)

for frame in surface_wind_speeds_at_given_hour.items():
update(frame)
Expand Down
2 changes: 1 addition & 1 deletion rocketpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
__copyright__ = "Copyright 20XX, Projeto Jupiter"
__credits__ = ["Matheus Marques Araujo", "Rodrigo Schmitt", "Guilherme Tavares"]
__license__ = "MIT"
__version__ = "0.12.0"
__version__ = "0.12.1"
__maintainer__ = "Giovani Hidalgo Ceotto"
__email__ = "ghceotto@gmail.com"
__status__ = "Production"
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@

setuptools.setup(
name="rocketpy",
version="0.12.0",
version="0.12.1",
install_requires=[
"numpy>=1.0",
"scipy>=1.0",
"matplotlib>=3.0",
"netCDF4>=1.4",
"netCDF4>=1.4,<1.6",
"windrose>=1.6.8",
"ipywidgets>=7.6.3",
"requests",
"pytz",
"timezonefinder",
Expand Down

0 comments on commit a9f9fab

Please sign in to comment.