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

savefig PDF removing the negative sign from yticklabels #7963

Closed
@Auerilas

Description

@Auerilas

Bug report

Bug summary

In matplotlib 2.0, when using plt.savefig() as a pdf, the negative sign is removed from the y tick labels.

import matplotlib.pyplot as plt

plt.plot([-1, 2], [-1, 2])plt.savefig('~/Desktop/test.png')plt.savefig('~/Desktop/test.pdf')

test

test.pdf

Matplotlib 2.0.0
Python 3.5.2, Linux Mint 18.1
Installed matplotlib from conda, then most recently did conda update --all to upgrade to 2.0.0

Actually, going back and look it appears that this issue is not specific to Matplotlib 2.0.0, but was occurring before that as well.

Actually#2, this appears to be a seaborn issue as it only occurs after I import seaborn. I'll post an issue there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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