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

a bug that latex expression with subscripts exceeds bbox #14177

Open
Labels
keepItems to be ignored by the “Stale” Github Actiontopic: text/usetex
@qm1900

Description

@qm1900

Bug report

the background box for a text object that is composed via latex with subscript can not be covered by the box if letting the padding of the box be equal to 0

ax.annotate(r'$A_{\tiny 1}$',xy=(0.5,0.5),bbox=dict(boxstyle='round,pad=0',fc='w',ec='none'))

Expected outcome : the text has a white background as small as possible and include all of the text

Actual outcome : the text always exceeds the bbox unless using a bigger padding that is ugly

Matplotlib version

  • Operating system: windows 10 x64
  • Matplotlib version: 3.0.2
  • Matplotlib backend (print(matplotlib.get_backend())): tkagg
  • Python version: 3.7.0
  • Jupyter version (if applicable):
  • Other libraries:

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepItems to be ignored by the “Stale” Github Actiontopic: text/usetex

    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