HF RL Explorer

Task: Control Legend Order in Matplotlib

Task: Control Legend Order in Matplotlib: a task in Terminal-Lego-15k (Harbor dataset). When creating matplotlib plots with multiple elements (patches, bars, etc.), the legend order may not match the order in which elements were created. This task requires you to understand how matplotlib…

The task

When creating matplotlib plots with multiple elements (patches, bars, etc.), the legend order may not match the order in which elements were created. This task requires you to understand how matplotlib determines legend order and implement a solution to control it.

Part of PrimeIntellect/Terminal-Lego-15k.