Skip to content

Commit

Permalink
Specifying axis in plot_variants
Browse files Browse the repository at this point in the history
  • Loading branch information
marlinfiggins committed Jun 1, 2024
1 parent c32518a commit 7519547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evofr/plotting/plotting_primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def plot_variants(
for idx, variant in enumerate(variants_to_plot):
variant_values = values[:, variant_indices[idx]]

median = np.median(variant_values)
median = np.median(variant_values, axis=0)
for quantile in quantiles:
lower = np.quantile(variant_values, 0.5 * (1 - quantile), axis=0)
upper = np.quantile(variant_values, 0.5 * (1 + quantile), axis=0)
Expand Down

0 comments on commit 7519547

Please sign in to comment.