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

Saving polar plots with MiKTeX on Windows fails for some file formats #14146

Closed
@urogers

Description

@urogers

Bug summary

Saving matplotlib polar plots on Windows 7 and Windows 10, with MiKTex 2.9.7.000, fails for some formats (e.g., pdf, svg) and works for others (e.g., png, jpg)

Code for reproduction

importmatplotlib.pyplotaspltimportmatplotlibasmplmpl.rcParams['text.usetex']=Trueplt.figure()ax=plt.subplot(111,polar=True)plt.savefig('foo.png')# Worksplt.savefig('foo.jpg')# Worksplt.savefig('foo.tif')# Works# plt.savefig('foo.pdf')  # Fails# plt.savefig('foo.svg')  # Failsplt.show()

Actual outcome

"Error saving .... " window pops up with error code b'tcss1000' for pdf, and b'tcss3583' for svg. (The numbers change)

Matplotlib version

  • Operating system: Windows 7 & 10
  • Matplotlib version: 2.2.2 or 3.0.3
  • Matplotlib backend (print(matplotlib.get_backend())): Qt5Agg
  • Python version: 3.6
  • Jupyter version (if applicable): N/A
  • Other libraries: N/A

Installed via Anaconda3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp