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]: Pyplot can no longer set axes properties #27953

Closed
Milestone
@crisluengo

Description

@crisluengo

Bug summary

Since Matplotlib 3.8.1, it no longer is possible to set axes properties, neither using Pyplot free functions nor Axis object methods.

This persists in the current latest release 3.8.3, and is not observed in 3.8.0.

Code for reproduction

importmatplotlib.pyplotaspltimportnumpyasnpplt.plot(np.random.randn(100))plt.xlabel("x label")plt.show()

Actual outcome

The "x label" text is not shown. The result is identical to just callingplt.plot(...) andplt.show().

Expected outcome

The "x label" text is shown.

Additional information

The above example applies to all functions that set axes properties.

I have tried in many different ways to create a figure with axes, none of them resulted in me being able to set properties.

Operating system

macOS 14.3.1 (aarch64)

Matplotlib Version

3.8.1

Matplotlib Backend

MacOSX

Python version

3.11.8

Jupyter version

No response

Installation

pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp