Skip to content

Commit

Permalink
src/sage/interfaces/r.py: Fix doctest comment style
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jun 9, 2024
1 parent 538c911 commit 11833d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/interfaces/r.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,8 @@ def png(self, *args, **kwds):
We want to make sure that we actually can view R graphics, which happens
differently on different platforms::
sage: s = r.eval('capabilities("png")') # Should be on Linux and Solaris
sage: t = r.eval('capabilities("aqua")') # Should be on all supported Mac versions
sage: s = r.eval('capabilities("png")') # should be on Linux and Solaris
sage: t = r.eval('capabilities("aqua")') # should be on all supported Mac versions
sage: "TRUE" in s+t # optional - rgraphics
True
"""
Expand Down Expand Up @@ -1158,7 +1158,7 @@ def completions(self, s):
EXAMPLES::
sage: dummy = r._tab_completion(use_disk_cache=False) #clean doctest
sage: dummy = r._tab_completion(use_disk_cache=False) # clean doctest
sage: 'testInheritedMethods' in r.completions('tes')
True
"""
Expand Down Expand Up @@ -1306,7 +1306,7 @@ def plot(self, *args, **kwds):
would need to use the following since R lattice graphics do
not automatically print away from the command line::
sage: filename = tmp_filename() + '.png' # Not needed in notebook, used for doctesting
sage: filename = tmp_filename() + '.png' # not needed in notebook, used for doctesting
sage: r.png(filename='"%s"'%filename) # optional - rgraphics
NULL
sage: r.library("lattice")
Expand Down

0 comments on commit 11833d8

Please sign in to comment.