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]: Incorrect mathtext rendering ofr"$\|$" with default (dejavu) math fontfamily #23250

Closed
@anntzer

Description

@anntzer

Bug summary

r"$\|$" should render as a double vertical bar, which it does with usetex or with math_fontfamily="cm", but not with the default "dejavusans" math_fontfamily.

Code for reproduction

s=r"single$|$ double$\|$"figtext(.5,.7,s);figtext(.5,.6,s,math_fontfamily="cm");figtext(.5,.5,s,usetex=True)

Actual outcome

test

Expected outcome

Double vertical bar in the first line too.

Additional information

No response

Operating system

arch

Matplotlib Version

3.6.0.dev2423+gd0bef3b3d7

Matplotlib Backend

qt5agg

Python version

3.10

Jupyter version

ENOSUCHLIB

Installation

git checkout

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