Skip to content

Commit 7133182

Browse files
author
Matthias Koeppe
committed
src/sage/tests/book_stein_ent.py: Use block tag
1 parent 3df8c81 commit 7133182

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/sage/tests/book_stein_ent.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@
5050
25
5151
sage: prime_pi(3000000)
5252
216816
53-
sage: plot(prime_pi, 1,1000, rgbcolor=(0,0,1)) # needs sage.plot
53+
54+
sage: # needs sage.plot sage.symbolic
55+
sage: plot(prime_pi, 1,1000, rgbcolor=(0,0,1))
5456
Graphics object consisting of 1 graphics primitive
55-
sage: P = plot(Li, 2,10000, rgbcolor='purple') # needs sage.plot
56-
sage: Q = plot(prime_pi, 2,10000, rgbcolor='black') # needs sage.plot
57-
sage: R = plot(sqrt(x)*log(x),2,10000,rgbcolor='red') # needs sage.plot
58-
sage: show(P+Q+R,xmin=0, figsize=[8,3]) # needs sage.plot
57+
sage: P = plot(Li, 2,10000, rgbcolor='purple')
58+
sage: Q = plot(prime_pi, 2,10000, rgbcolor='black')
59+
sage: R = plot(sqrt(x)*log(x), 2,10000, rgbcolor='red')
60+
sage: show(P + Q + R, xmin=0, figsize=[8,3])
5961
6062
sage: R = Integers(3)
6163
sage: list(R)

0 commit comments

Comments
 (0)