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]: Exported PDF figures cannot be modified by Adobe Illustrator correctly. #27893

Open
@JerrySoybean

Description

@JerrySoybean

Bug summary

Useimshow to generate a figure, and then save it as apdf file. If you open the generated pdf figure in Adobe Illustrator, the figure in Adobe Illustrator becomes different. Colors are wrongly assigned.

Code for reproduction

importnumpyasnpimportmatplotlib.pyplotaspltimportmatplotlibprint(matplotlib.__version__)a=np.array([[1,2,3], [4,5,6]])plt.matshow(a)plt.savefig(‘test.pdf’)

Actual outcome

image

Expected outcome

image

Additional information

No response

Operating system

No response

Matplotlib Version

3.8.3

Matplotlib Backend

module://matplotlib_inline.backend_inline

Python version

3.10.13

Jupyter version

7.0.8

Installation

conda

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