# Bug in Cool to Warm extended colormap

**URL:** https://discourse.paraview.org/t/bug-in-cool-to-warm-extended-colormap/11322
**Category:** Development
**Created:** [February 2, 2023, 3:38pm UTC](https://discourse.paraview.org/t/bug-in-cool-to-warm-extended-colormap/11322 "2023-02-02T15:38:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fvg](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/8e7dd6/32.png) [@fvg](https://discourse.paraview.org/u/fvg)
#### Post date: [February 2, 2023, 3:38pm UTC](https://discourse.paraview.org/t/bug-in-cool-to-warm-extended-colormap/11322/1 "2023-02-02T15:38:06Z")

</div>

The colormap seems to have a duplicate value halfway, see image at 0.5. (this is default 5.11)  
This leads to a hickup near 0, which is not expected for a linear colormap.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/6/6af36d2252ed7d8c1efdaf00d69fd9cd68b59d9f.png)

[cool warm extended.pvsm](https://discourse.paraview.org/uploads/short-url/dBreBUtlk8nOteubbMicz4lNpuC.pvsm) (209.2 KB)

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [February 6, 2023, 8:56pm UTC](https://discourse.paraview.org/t/bug-in-cool-to-warm-extended-colormap/11322/2 "2023-02-06T20:56:22Z")

</div>

Thanks for reporting @fvg

@Kenneth_Moreland @cory.quammen Think this is an issue? I believe it is… I could write it up, and if you point me in a direction of a source file, I could even create a dif.

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [February 6, 2023, 9:06pm UTC](https://discourse.paraview.org/t/bug-in-cool-to-warm-extended-colormap/11322/3 "2023-02-06T21:06:15Z")

</div>

Yeah, that seems weird. It makes sense to correct the color table.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [February 6, 2023, 10:29pm UTC](https://discourse.paraview.org/t/bug-in-cool-to-warm-extended-colormap/11322/4 "2023-02-06T22:29:28Z")

</div>

I suspect it is not the color table definition but rather the same interpolation issue we are seeing in [https://gitlab.kitware.com/paraview/paraview/-/issues/19092](https://gitlab.kitware.com/paraview/paraview/-/issues/19092)

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [February 6, 2023, 11:51pm UTC](https://discourse.paraview.org/t/bug-in-cool-to-warm-extended-colormap/11322/5 "2023-02-06T23:51:02Z")

</div>

Correct, Cory. I replicated it with a sources/ cylinder. 19092 also is scheduled and has priority.
