You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only documenting, not meant to ask for debugging/extra work:
openfast-adapter/cases/cfd-turbine/fluid [main]$ python3 plot.py
Performance from 0.0--191.0 degrees:
Mean TSR = 6.00
Mean C_P = 0.14
Mean C_D = 1.06
Traceback (most recent call last):
File "/home/gc/repos/precice/openfast-adapter/cases/cfd-turbine/fluid/plot.py", line 72, in<module>plot_cp()
File "/home/gc/repos/precice/openfast-adapter/cases/cfd-turbine/fluid/plot.py", line 29, in plot_cp
plt.plot(df.angle_deg, df.cp)
File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 2757, in plot
returngca().plot(
File "/usr/lib/python3/dist-packages/matplotlib/axes/_axes.py", line 1632, in plot
lines = [*self._get_lines(*args, data=data, **kwargs)]
File "/usr/lib/python3/dist-packages/matplotlib/axes/_base.py", line 312, in __call__
yield from self._plot_args(this, kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/axes/_base.py", line 487, in _plot_args
x = _check_1d(xy[0])
File "/usr/lib/python3/dist-packages/matplotlib/cbook/__init__.py", line 1327, in _check_1d
ndim = x[:, None].ndim
File "/home/gc/.local/lib/python3.10/site-packages/pandas/core/series.py", line 1144, in __getitem__
return self._get_with(key)
File "/home/gc/.local/lib/python3.10/site-packages/pandas/core/series.py", line 1154, in _get_with
return self._get_values_tuple(key)
File "/home/gc/.local/lib/python3.10/site-packages/pandas/core/series.py", line 1194, in _get_values_tuple
disallow_ndim_indexing(result)
File "/home/gc/.local/lib/python3.10/site-packages/pandas/core/indexers/utils.py", line 341, in disallow_ndim_indexing
raise ValueError(
ValueError: Multi-dimensional indexing (e.g. `obj[:, None]`) is no longer supported. Convert to a numpy array before indexing instead.
The text was updated successfully, but these errors were encountered:
Only documenting, not meant to ask for debugging/extra work:
The text was updated successfully, but these errors were encountered: