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

Symbols appear as streaks with usetex=True, times font and PDF backend #11259

Closed
@pdhall99

Description

@pdhall99

Bug report

Bug summary

  • Symbols appear as streaks with usetex=True, times font and PDF backend

Code for reproduction

importmatplotlibasmplimportmatplotlib.pyplotaspltmpl.rcParams.update(mpl.rcParamsDefault)mpl.rcParams['text.usetex']=Truempl.rcParams['font.family']= ['serif']mpl.rcParams['font.serif']= ['times']fig,ax=plt.subplots()ax.set_xlabel(r'$x$ $\alpha$')fig.savefig('test.pdf')

Actual outcome
test.pdf

  • Alpha symbol in the x-axis label appears as a streak in the output PDF

Expected outcome

  • Alpha symbol in the x-axis label to appear as an alpha, rendered by LaTeX

Matplotlib version

  • Matplotlib 2.2.2, Python 2.7.15, OSX 10.13.4
  • pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018), kpathsea version 6.3.0
  • Installed with MacPorts

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