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 tests for coverage #193

Merged
merged 14 commits into from
Feb 7, 2022
Prev Previous commit
Next Next commit
fix error in curve plot for python >3.8
  • Loading branch information
patrick-reinhard committed Jan 27, 2022
commit f38f8dace56ee0107d0f9b5944086767fab9545d
2 changes: 1 addition & 1 deletion welly/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def plot_curve(curve,
kwargs['lw'] = getattr(d, 'lineweight', None) or getattr(d, 'lw', 1)
kwargs['ls'] = getattr(d, 'linestyle', None) or getattr(d, 'ls', '-')

ax.plot(curve.df, curve.basis, **kwargs)
ax.plot(curve.df.to_numpy(copy=True), curve.basis, **kwargs)

if d is not None:
# Attempt to get axis parameters from decor.
Expand Down