Skip to content

Commit

Permalink
Update samples.py for pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashergt authored Nov 2, 2023
1 parent 941b712 commit fda5207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anesthetic/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def plot_1d(self, axes=None, *args, **kwargs):
if np.isinf(self[x]).any():
warnings.warn(f"column {x} has inf values.")
selfx = self[x].replace([-np.inf, np.inf], np.nan)
selfx.plot(ax=ax, xlabel=xlabel, logx=x in logx,
selfx.plot(ax=ax, xlabel=xlabel, logx=x in logx,
*args, **kwargs)
ax.set_xlabel(xlabel)
else:
Expand Down

0 comments on commit fda5207

Please sign in to comment.