openearth / oceanwaves-python

Toolbox to handle ocean waves datasets
http://oceanwaves.readthedocs.io
MIT License
64 stars 39 forks source link

from xarray.plot.plot import _PlotMethods not found #28

Open cwedk opened 1 year ago

cwedk commented 1 year ago

after successful installation of oceanwaves with pip install oceanwaves, following error occurs when import oceanwaves:

  1 import functools
  2 import numpy as np

----> 3 from xarray.plot.plot import _PlotMethods 6 try: 7 import matplotlib.pyplot as plt

ModuleNotFoundError: No module named 'xarray.plot.plot'

cwedk commented 1 year ago

Seems that the dev version of xarray in the requirements is deprecated for this purpose and found a version of xarray that still has this feature: xarray==0.16.2