Skip to content

Commit beb94bc

Browse files
committed
remove duplicate args in @options() in region_plot
This is needed for Sphinx 7.1+
1 parent 80f6d77 commit beb94bc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/sage/plot/contour_plot.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,11 +1391,9 @@ def f(x,y):
13911391
raise ValueError("fill=%s is not supported" % options['fill'])
13921392

13931393

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

0 commit comments

Comments
 (0)