Skip to content

Commit

Permalink
remove duplicate args in @options() in region_plot
Browse files Browse the repository at this point in the history
This is needed for Sphinx 7.1+
  • Loading branch information
dimpase committed Sep 18, 2023
1 parent 80f6d77 commit beb94bc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/sage/plot/contour_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1391,11 +1391,9 @@ def f(x,y):
raise ValueError("fill=%s is not supported" % options['fill'])


@options(plot_points=100, incol='blue', outcol=None, bordercol=None,
borderstyle=None, borderwidth=None, frame=False, axes=True,
legend_label=None, aspect_ratio=1, alpha=1)
def region_plot(f, xrange, yrange, plot_points, incol, outcol, bordercol,
borderstyle, borderwidth, alpha, **options):
@options(frame=False, axes=True, legend_label=None, aspect_ratio=1)
def region_plot(f, xrange, yrange, plot_points=100, incol='blue', outcol=None, bordercol=None,
borderstyle=None, borderwidth=None, alpha=1, **options):
r"""
``region_plot`` takes a boolean function of two variables, `f(x, y)`
and plots the region where f is True over the specified
Expand Down

0 comments on commit beb94bc

Please sign in to comment.