Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot dvv: problem with individual pairs #150

Closed
Corentin3 opened this issue Mar 14, 2019 · 0 comments
Closed

plot dvv: problem with individual pairs #150

Corentin3 opened this issue Mar 14, 2019 · 0 comments

Comments

@Corentin3
Copy link

The plot dvv fails if you want to plot a given pair. By replacing the line 146:
tmp2 = allbut[dttname].resample('D').mean()

with:
tmp2 = allbut[dttname].resample('D',how=np.mean)

And similarly for the median:
tmp3 = allbut[dttname].resample('D').median()

with
tmp3 = allbut[dttname].resample('D',how=np.median)

It now works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant