Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[ENH]: add_collection(..., autolim=True) should update view limits as well #29957

Open
@timhoffm

Description

@timhoffm

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 dedicatedauto_scale_xyz().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp