Commit 4acd3be
authored
Correctly read the 'style' argument while processing 'genfrac'. (matplotlib#23034)
* Correctly read the 'style' argument while processing 'genfrac'.
* Default to text style if style not specified.
* Hard-coded enumerations. Support script_stype and script_script_style.
* Automatically convert style number to enumerated type.
* Used double quotes for strings.
* Verify that genfrac's displaystyle == dfrac.
* Use rcParams instead of rcParamsDefault in the test.
The test changes the DPI of the figure, but compares images after saving them, so rcParams['savefig.dpi'] is more appropriate.1 parent 00cdf28 commit 4acd3be
2 files changed
+23
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
1637 | | - | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | 1643 | | |
| |||
1725 | 1725 | | |
1726 | 1726 | | |
1727 | 1727 | | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
1728 | 1731 | | |
1729 | 1732 | | |
1730 | 1733 | | |
| |||
1799 | 1802 | | |
1800 | 1803 | | |
1801 | 1804 | | |
1802 | | - | |
| 1805 | + | |
1803 | 1806 | | |
1804 | 1807 | | |
1805 | 1808 | | |
| |||
2324 | 2327 | | |
2325 | 2328 | | |
2326 | 2329 | | |
2327 | | - | |
| 2330 | + | |
2328 | 2331 | | |
2329 | 2332 | | |
2330 | 2333 | | |
| |||
2358 | 2361 | | |
2359 | 2362 | | |
2360 | 2363 | | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
2361 | 2367 | | |
2362 | 2368 | | |
2363 | 2369 | | |
2364 | | - | |
| 2370 | + | |
2365 | 2371 | | |
2366 | 2372 | | |
2367 | 2373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
370 | 380 | | |
371 | 381 | | |
372 | 382 | | |
| |||
0 commit comments