Task: Create Custom Colormap with Matplotlib and Display Color Scale
Task: Create Custom Colormap with Matplotlib and Display Color Scale: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Python script that demonstrates how to properly create a custom colormap in matplotlib that smoothly transitions between colors (red → violet → blue), map it to…
The task
You need to create a Python script that demonstrates how to properly create a custom colormap in matplotlib that smoothly transitions between colors (red → violet → blue), map it to a specific value range (-2 to +2), and display a colorbar alongside a scatter plot.
Part of PrimeIntellect/Terminal-Lego-15k.