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

[Doc]: dynamically resize the mathtext symbol tables #26143

Open
@story645

Description

@story645

Documentation Link

https://matplotlib.org/devdocs/users/explain/text/mathtext.html#symbols

Problem

In the math text example, the number of columns for displaying each set of symbols is specified as part of defining each set of symbols:

symbols= [
["Lower-case Greek",
6,
r"""\alpha \beta \gamma \chi \delta \epsilon \eta \iota \kappa
\lambda \mu \nu \omega \phi \pi \psi \rho \sigma \tau \theta
\upsilon \xi \zeta \digamma \varepsilon \varkappa \varphi
\varpi \varrho \varsigma \vartheta""".split()],

This makes the tables somewhat brittle with respect to a reordering or a resizing.

Suggested improvement

modify therun function of the directive to generate a more dynamic table, maybe alist table

tagging this good first issue because the work is contained to themath_symbol_table.py file and the way to verify that the changes make sense is to build the docs and ensure that the resulting tables in the mathtext tutorials look similar to the old ones butthe number of columns change to fit better when the browser window is resized. This issues requires working knowledge of sphinx.

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