From e74d69b23b816428435a35311e6b1dc9762d2eef Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Wed, 12 Feb 2020 17:17:01 -0300 Subject: [PATCH] fix for latest pandas --- oceans/plotting.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/oceans/plotting.py b/oceans/plotting.py index a65f67a..1e28c31 100644 --- a/oceans/plotting.py +++ b/oceans/plotting.py @@ -43,7 +43,7 @@ def stick_plot(time, u, v, **kw): from pandas import DatetimeIndex from pandas.plotting import register_matplotlib_converters - register_matplotlib_converters(True) + register_matplotlib_converters() width = kw.pop("width", 0.002) headwidth = kw.pop("headwidth", 0) diff --git a/requirements.txt b/requirements.txt index 09d6543..d2f7363 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ gsw matplotlib numpy +pandas>=1.0.1 seawater