Skip to content

Commit b988c9b

Browse files
hurDaveWitteMorris
authored andcommitted
Add doctest for #10980
1 parent f8df808 commit b988c9b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sage/plot/plot.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,11 @@ def f(x): return (x-3)*(x-5)*(x-7)+40
513513
sage: os.system("sage -c \"if 'matplotlib' in sys.modules: sys.exit(1)\"") # long time
514514
0
515515
516+
Verify that :trac `10980` is fixed
517+
518+
sage: plot(x,0,2,gridlines=([sqrt(2)],[]))
519+
Graphics object consisting of 1 graphics primitive
520+
516521
AUTHORS:
517522
518523
- Alex Clemesha and William Stein (2006-04-10): initial version

0 commit comments

Comments
 (0)