Task: Implement a Diagonal Line Drawing Function for Matplotlib
Task: Implement a Diagonal Line Drawing Function for Matplotlib: a task in Terminal-Lego-15k (Harbor dataset). Matplotlib provides axhline and axvline functions for drawing horizontal or vertical lines at fixed coordinates independent of the data scale. However, there is no built-in function for…
The task
Matplotlib provides `axhline` and `axvline` functions for drawing horizontal or vertical lines at fixed coordinates independent of the data scale. However, there is no built-in function for drawing diagonal lines (like y=x) in axis coordinates.
Part of PrimeIntellect/Terminal-Lego-15k.