Skip to content

Commit 11833d8

Browse files
author
Matthias Koeppe
committed
src/sage/interfaces/r.py: Fix doctest comment style
1 parent 538c911 commit 11833d8

File tree

1 file changed

+4
-4
lines changed
  • src/sage/interfaces

1 file changed

+4
-4
lines changed

src/sage/interfaces/r.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,8 @@ def png(self, *args, **kwds):
631631
We want to make sure that we actually can view R graphics, which happens
632632
differently on different platforms::
633633
634-
sage: s = r.eval('capabilities("png")') # Should be on Linux and Solaris
635-
sage: t = r.eval('capabilities("aqua")') # Should be on all supported Mac versions
634+
sage: s = r.eval('capabilities("png")') # should be on Linux and Solaris
635+
sage: t = r.eval('capabilities("aqua")') # should be on all supported Mac versions
636636
sage: "TRUE" in s+t # optional - rgraphics
637637
True
638638
"""
@@ -1158,7 +1158,7 @@ def completions(self, s):
11581158
11591159
EXAMPLES::
11601160
1161-
sage: dummy = r._tab_completion(use_disk_cache=False) #clean doctest
1161+
sage: dummy = r._tab_completion(use_disk_cache=False) # clean doctest
11621162
sage: 'testInheritedMethods' in r.completions('tes')
11631163
True
11641164
"""
@@ -1306,7 +1306,7 @@ def plot(self, *args, **kwds):
13061306
would need to use the following since R lattice graphics do
13071307
not automatically print away from the command line::
13081308
1309-
sage: filename = tmp_filename() + '.png' # Not needed in notebook, used for doctesting
1309+
sage: filename = tmp_filename() + '.png' # not needed in notebook, used for doctesting
13101310
sage: r.png(filename='"%s"'%filename) # optional - rgraphics
13111311
NULL
13121312
sage: r.library("lattice")

0 commit comments

Comments
 (0)