Skip to content

Commit 5d83c66

Browse files
Fix indentation in LoggingRay usage examples for consistency
1 parent 03507a2 commit 5d83c66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

raysect/optical/loggingray.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ cdef class LoggingRay(Ray):
7777
>>>
7878
>>> world = World()
7979
>>> box = Box(Point3D(-1, -1, 0), Point3D(1, 1, 1),
80-
>>> material=NullMaterial(), parent=world)
80+
... material=NullMaterial(), parent=world)
8181
>>>
8282
>>> ray = LoggingRay(origin=Point3D(0, 0, -5),
83-
>>> direction=Vector3D(0, 0, 1))
83+
... direction=Vector3D(0, 0, 1))
8484
>>>
8585
>>> ray.trace(world)
8686
>>> ray.log
@@ -141,7 +141,7 @@ cdef class LoggingRay(Ray):
141141
142142
>>> world = World()
143143
>>> ray = LoggingRay(origin=Point3D(0, 0, -5),
144-
>>> direction=Vector3D(0, 0, 1))
144+
... direction=Vector3D(0, 0, 1))
145145
>>> spectrum = ray.trace(world)
146146
"""
147147

0 commit comments

Comments
 (0)