Skip to content
Snippets Groups Projects
Commit 7d42c098 authored by Florstedt, Julius's avatar Florstedt, Julius
Browse files

Merge branch 'julius.florstedt-main-patch-32427' into 'main'

small fix on the main branch, adding missing else in test case.

See merge request !38
parents d20de117 f0ef46ad
No related branches found
No related tags found
1 merge request!38small fix on the main branch, adding missing else in test case.
Pipeline #1624182 passed
...@@ -112,14 +112,15 @@ def test_hist_plot( ...@@ -112,14 +112,15 @@ def test_hist_plot(
if bins is None and cumulative is None and density is None: if bins is None and cumulative is None and density is None:
# giving arguments the none value throws errors, might need a test overhaul overall # giving arguments the none value throws errors, might need a test overhaul overall
ax.hist(x) ax.hist(x)
ax.hist( else:
x, ax.hist(
bins=bins, x,
color=color, bins=bins,
label=label, color=color,
cumulative=cumulative, label=label,
density=density, cumulative=cumulative,
) density=density,
)
if title: if title:
ax.set_title(title) ax.set_title(title)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment