Skip to content

Commit f2671d8

Browse files
author
Matthias Koeppe
committed
src/sage/plot/plot.py: Fix Warning: Variable 'x' referenced here was set only in doctest marked '# long time, needs sage.symbolic'
1 parent 30cb618 commit f2671d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sage/plot/plot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3627,6 +3627,7 @@ def h(x): return sin(4*x)
36273627
It is possible to use ``figsize`` to change the size of the plot
36283628
as a whole::
36293629
3630+
sage: x = var('x')
36303631
sage: L = [plot(sin(k*x), (x,-pi,pi)) for k in [1..3]]
36313632
sage: ga = graphics_array(L)
36323633
sage: ga.show(figsize=[5,3]) # smallish and compact

0 commit comments

Comments
 (0)