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

add sorting of indices of dataframes for the correct sorting of x-values #430

Merged
merged 7 commits into from
May 12, 2020
Prev Previous commit
Next Next commit
spelling
  • Loading branch information
erikadudki committed Apr 24, 2020
commit f13ea711ea1f4cfe1b14c5563d395ac07c019f1a
2 changes: 1 addition & 1 deletion petab/visualize/plotting_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def plot_lowlevel(plot_spec: pd.Series,
conditions.sort_index(inplace=True)
else:
raise ValueError('Strange: conditions object is neither numpy'
' nor Series...')
' nor series...')
ms.sort_index(inplace=True)
# sorts according to ascending order of conditions
scond, smean, snoise = \
Expand Down