Skip to content

Commit ba4c9e4

Browse files
author
Matthias Koeppe
committed
src/sage/plot/graphics.py: Fix doctest
1 parent adf8e48 commit ba4c9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/plot/graphics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class Graphics(WithEqualityById, SageObject):
140140
sage: G = Graphics()
141141
sage: for x in srange(1, h+1): # optional - sage.symbolic
142142
....: l = [[0,x*sqrt(3)],[-x/2,-x*sqrt(3)/2],[x/2,-x*sqrt(3)/2],[0,x*sqrt(3)]]
143-
....: G + =line(l, color=hue(c + p*(x/h)))
143+
....: G += line(l, color=hue(c + p*(x/h)))
144144
sage: G.show(figsize=[5,5]) # optional - sage.symbolic
145145
146146
We can change the scale of the axes in the graphics before displaying.::

0 commit comments

Comments
 (0)