Skip to content

Commit

Permalink
enforce use of keyword arguments in contour
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstangl committed Jul 30, 2020
1 parent ea2fb13 commit ecfc66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flavio/plots/plotfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def band_plot(log_likelihood, x_min, x_max, y_min, y_max,
return contour_kwargs['x'], contour_kwargs['y'], contour_kwargs['z']


def contour(x, y, z, levels, z_min=None,
def contour(x, y, z, levels, *, z_min=None,
interpolation_factor=1,
interpolation_order=2,
col=None, color=None, label=None,
Expand Down

0 comments on commit ecfc66b

Please sign in to comment.