Collections could check x- and y- transforms separately to decide whether to autoscale each direction #15518
Labels
status: inactive
Marked by the “Stale” Github Action
Milestone
Bug report
Consider the following example
where I want to use vlines in a manner similar to axvline, i.e. lines spanning the full axes height (but more efficiently than with repeated calls to axvline, as vlines will create a single LineCollection.
The autoscaling in the y axis incorrectly goes all the way down to include (0, 1) (coming from the call to vlines), even though these values are in axes coordinates rather than data coordinates.
In effect, I think this is equivalent to the suggestion at #13642 (comment).
Matplotlib version
print(matplotlib.get_backend())
): anyThe text was updated successfully, but these errors were encountered: