Skip to content

Commit de31e5f

Browse files
committed
Force line breaking to fix the rendering error on long code.
1 parent 81c8c09 commit de31e5f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Introduction
22
============
33

4+
.. |br| raw:: html
5+
6+
<br />
7+
48
PySurfer is a Python library for visualizing cortical surface representations
59
of neuroimaging data. The package is primarily intended for use with
610
`Freesurfer <http://surfer.nmr.mgh.harvard.edu/>`_, but it can plot data that

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)