Skip to content

Commit 6a9cdf1

Browse files
committed
Force line breaking to fix the rendering error on long code.
1 parent 6bfe4b6 commit 6a9cdf1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/python_reference.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
.. _api_reference:
44

5+
.. |br| raw:: html
6+
7+
<br />
8+
59
====================
610
Python API Reference
711
====================

surfer/viz.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,8 +1350,8 @@ def add_label(self, label, color=None, alpha=1, scalar_thresh=None,
13501350
If a label is specified as name, subdir can be used to indicate
13511351
that the label file is in a sub-directory of the subject's
13521352
label directory rather than in the label directory itself (e.g.
1353-
for ``$SUBJECTS_DIR/$SUBJECT/label/aparc/lh.cuneus.label``
1354-
``brain.add_label('cuneus', subdir='aparc')``).
1353+
for |br| ``$SUBJECTS_DIR/$SUBJECT/label/aparc/lh.cuneus.label``
1354+
|br| ``brain.add_label('cuneus', subdir='aparc')``).
13551355
**kwargs : additional keyword arguments
13561356
These are passed to the underlying
13571357
`mayavi.mlab.pipeline.surface` call.

0 commit comments

Comments
 (0)