<commit_before>"""
=================================================
Display sulci on the flatmap.
=================================================

Setting the parameter `with_sulci` for the `quickflat.make_figure` to `True`
will display the defined sulci.

The sulcis are defined in a sub-layer of the sulci layer in
<filestore>/<subject>/rois.svg
"""
import cortex

# Create a random pycortex Volume
volume = cortex.Volume.random(subject='S1', xfmname='retinotopy')

# Plot a flatmap with the data projected onto the surface
# Highlight the curvature and dropout regions
_ = cortex.quickflat.make_figure(volume,
                                 with_curvature=True,
                                 with_sulci=True)<commit_msg>doc (gallery): quickflat, sulci added<commit_after>"""
=================================================
Display sulci on the flatmap.
=================================================

The sulci are defined in a sub-layer of the sulci layer in
<filestore>/<subject>/rois.svg.

The parameter `with_sulci` in `quickflat.make_figure` controls
displaying the sulci on the surface.

"""
import cortex

# Create a random pycortex Volume
volume = cortex.Volume.random(subject='S1', xfmname='retinotopy')

# Plot a flatmap with the data projected onto the surface
# Highlight the curvature and display the sulci
_ = cortex.quickflat.make_figure(volume,
                                 with_curvature=True,
                                 with_sulci=True)
{'fraction_non_alphanumeric': 0.20202702702702702, 'fraction_numerical': 0.0013513513513513514, 'mean_word_length': 3.8084415584415585, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3191437', 'n_tokens_mistral': 404, 'n_tokens_neox': 382, 'n_words': 126}