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

ordering issues betweenset_xmargin andset_xscale #7093

Closed
Milestone
@anntzer

Description

@anntzer

As of 2.0b4, the order in which calls toset(xmargin=...) andset(xscale=...) are made result in different plots:

from matplotlib import pyplot as pltfig, axs = plt.subplots(2)axs[0].plot([1, 2], [1, 2])axs[1].plot([1, 2], [1, 2])axs[0].set(xscale="log"); axs[0].set(xmargin=0)axs[1].set(xmargin=0); axs[1].set(xscale="log")plt.show()

20

The ordering did not matter in 1.5, but that was because the setting ofxmargin was effectively ignored :-)
15

I'm suggesting to milestone this to 2.0, but I'll let someone else make that call.

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