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

[Bug]: Missing axes limits auto-scaling support for LineCollection #29219

Open
@carlosgmartin

Description

@carlosgmartin

Bug summary

Matplotlib is missing auto-scale support for LineCollection.

Related issues:

Code for reproduction

frommatplotlibimportpyplotaspltfrommatplotlib.collectionsimportLineCollectionlc=LineCollection([[(x,x**2)forxinrange(5)]])ax=plt.gca()ax.add_collection(lc)# ax.autoscale()  # need to manually call thisplt.show()

Actual outcome

image

Expected outcome

image

Additional information

No response

Operating system

macOS 14.6.1

Matplotlib Version

3.9.3

Matplotlib Backend

macosx

Python version

3.12.7

Jupyter version

7.2.2

Installation

pip

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