Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Description
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:
matplotlib/doc/sphinxext/math_symbol_table.py
Lines 6 to 12 inf329eb8
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.