Commit a32ff7d7 authored by Clément Haëck's avatar Clément Haëck
Browse files

Fix get_median additionnal arguments

parent f89e764a
......@@ -218,9 +218,9 @@ def get_quantile(pdf, q=0.5):
return quant.rename('q{:g}'.format(q))
def get_median(pdf):
def get_median(pdf, *args, **kwargs):
"""Return median computed from pdf."""
return get_quantile(pdf, q=0.5)
return get_quantile(pdf, q=0.5, *args, **kwargs)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment