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]: Spines clipped in ps backend withusetex=True saving as eps #23776

Closed as not planned
@oscargus

Description

@oscargus

Bug summary

When saving a wide eps withtext.usetex=True, the spine is clipped, but no other artists.

Code for reproduction

importmatplotlib.pyplotaspltplt.rcParams['text.usetex']=Trueplt.figure(figsize=(20,4))plt.plot([0,1], [0,1],'b')plt.savefig('clippedspine.eps')

Actual outcome

image

Expected outcome

image

Additional information

Expected output not usingusetex.

Saving as ps stores using letter paper, so the whole paper is clipped.

The line is just there to illustrate that lines are not clipped as such (nor are texts).

It seems like the spine covers the same absolute width when changing figure width.

Operating system

CentOS

Matplotlib Version

3.6.0.dev3474+g8179d12.d20220830

Matplotlib Backend

No response

Python version

3.8.13

Jupyter version

No response

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp