# plot\_topomap visulization value issue

**URL:** <https://mne.discourse.group/t/plot-topomap-visulization-value-issue/10609>\
**Category:** Support & Discussions\
**Tags:** eeg, visualization\
**Created:** [December 9, 2024, 8:58am UTC](https://mne.discourse.group/t/plot-topomap-visulization-value-issue/10609 "2024-12-09T08:58:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mokita](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Mokita](https://mne.discourse.group/u/Mokita)\
**Post date:** [December 9, 2024, 8:58am UTC](https://mne.discourse.group/t/plot-topomap-visulization-value-issue/10609/1 "2024-12-09T08:58:03Z")

</div>

I want to use the function mne.viz.plot\_topomap to visulize a list of correlation value with shape(62，),. They are all positive value, but in the final plot it seems like it has negtive value, see the blue part.

 ![图片1](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/d/de489b157f73591865705af200c394559a56d326.png)

How can I solve this?

---

<div class="post-metadata">

**Author:** ![CarinaFo](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/carinafo/32/746_2.png) [@CarinaFo](https://mne.discourse.group/u/CarinaFo)\
**Post date:** [December 10, 2024, 3:40am UTC](https://mne.discourse.group/t/plot-topomap-visulization-value-issue/10609/2 "2024-12-10T03:40:15Z")

</div>

Hello Mokita,

did you change the colorbar limits within the function parameters? If not then it will have default settings according to this:  
[viz.plot\_topomap()](https://mne.tools/stable/generated/mne.viz.plot_topomap.html):

> **vlim** [`tuple`](https://docs.python.org/3/library/stdtypes.html#tuple) of length 2
> 
> Lower and upper bounds of the colormap, typically a numeric value in the same units as the data. If both entries are `None`, the bounds are set at `(min(data), max(data))`. Providing `None` for just one entry will set the corresponding boundary at the min/max of the data. Defaults to `(None, None)`.

You can adjust the colorbar limits yourself to set e.g. a range from 0 to 1. Keep in mind that the colors for the colorbar will change (all reds for positive values), but you can change the colorschema with the cmap parameter if you are not happy with the default colors.

Hope this helps.  
Best,

Carina

---

<div class="post-metadata">

**Author:** ![cbrnr](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/cbrnr/32/1409_2.png) [@cbrnr](https://mne.discourse.group/u/cbrnr)\
**Post date:** [December 10, 2024, 5:47am UTC](https://mne.discourse.group/t/plot-topomap-visulization-value-issue/10609/3 "2024-12-10T05:47:05Z")

</div>

In addition to @CarinaFo’s comment, these negative values are likely due to the function extrapolating values to the head border. To prevent these artifacts, adjust relevant arguments like `border` (e.g., set it to `0`), `extrapolate`, and `image_interp`.
