You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Axes.add_collection() has the parameter autolim, which updates Axes.dataLim, however it does not update Axes.viewLim. This requires an explicit ax.autoscale_view() - or when using it internally, we use the lazy ax._request_autoscale_view.
Proposed solution
Axes.add_collection(..., autolim=True) should itself call ax._request_autoscale_view(). If we opt into limits handling, this should possibly include the view limits as well. Requireing an extra call from users is cumbersome. Also since ax._request_autoscale_view() is private, users can only call the eager ax.autoscale_view().
Todo: Investigate how to make this work correctly for 3D, which seems to use a dedicated auto_scale_xyz().
The text was updated successfully, but these errors were encountered:
Basically yes, though I haven't read through #29219 completely. I've started #29958 to give it a try. Let's see where that's still failing and needs extra work.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Axes.add_collection()
has the parameterautolim
, which updatesAxes.dataLim
, however it does not updateAxes.viewLim
. This requires an explicitax.autoscale_view()
- or when using it internally, we use the lazyax._request_autoscale_view
.Proposed solution
Axes.add_collection(..., autolim=True)
should itself callax._request_autoscale_view()
. If we opt into limits handling, this should possibly include the view limits as well. Requireing an extra call from users is cumbersome. Also sinceax._request_autoscale_view()
is private, users can only call the eagerax.autoscale_view()
.Todo: Investigate how to make this work correctly for 3D, which seems to use a dedicated
auto_scale_xyz()
.The text was updated successfully, but these errors were encountered: