HF RL Explorer

Task: Using Colormaps to Set Color of Lines in Matplotlib

Task: Using Colormaps to Set Color of Lines in Matplotlib: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that correctly uses matplotlib colormaps to set the color of multiple lines in a plot, where each line's color is determined by a scalar value mapped through a colormap…

The task

Write a Python script that correctly uses matplotlib colormaps to set the color of multiple lines in a plot, where each line's color is determined by a scalar value mapped through a colormap (e.g., `jet`).

Part of PrimeIntellect/Terminal-Lego-15k.