Skip to content

Commit

Permalink
fix mislabeled knee/exp scatter plots
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhammonds committed Apr 29, 2021
1 parent c7b77ea commit 0ae5aa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fooof/plts/fg.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def plot_fg_ap(fg, ax=None, **plot_kwargs):
"""

if fg.aperiodic_mode == 'knee':
plot_scatter_2(fg.get_params('aperiodic_params', 'exponent'), 'Knee',
fg.get_params('aperiodic_params', 'knee'), 'Exponent',
plot_scatter_2(fg.get_params('aperiodic_params', 'exponent'), 'Exponent',
fg.get_params('aperiodic_params', 'knee'), 'Knee',
'Aperiodic Fit', ax=ax)
else:
plot_scatter_1(fg.get_params('aperiodic_params', 'exponent'), 'Exponent',
Expand Down

0 comments on commit 0ae5aa3

Please sign in to comment.