Skip to content

Commit

Permalink
Merge 7b5b732 into 78ec5a0
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia committed Feb 10, 2021
2 parents 78ec5a0 + 7b5b732 commit 657830b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arviz/plots/plot_utils.py
Expand Up @@ -586,7 +586,7 @@ def calculate_point_estimate(point_estimate, values, bw="default", circular=Fals
else:
point_value = np.mean(values)
elif point_estimate == "mode":
if isinstance(values[0], float):
if values.dtype.kind == "f":
if bw == "default":
if circular:
bw = "taylor"
Expand Down

0 comments on commit 657830b

Please sign in to comment.