HF RL Explorer

Task: Modify the Legend of a Pandas Bar Plot

Task: Modify the Legend of a Pandas Bar Plot: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that creates a pandas bar plot and correctly modifies the legend labels without introducing extra entries (such as a dashed line patch that appears when using plt.legend() directly…

The task

Write a Python script that creates a pandas bar plot and correctly modifies the legend labels without introducing extra entries (such as a dashed line patch that appears when using `plt.legend()` directly after a pandas bar plot).

Part of PrimeIntellect/Terminal-Lego-15k.