Commit b6a992a
Add ticks.minus_in_math config for math minus sign in arcsec labels
`_arcsec_labels` emitted an ASCII hyphen (U+002D) for negative tick
values. Add a `ticks.minus_in_math` config flag (default false) that,
when true, renders negatives with the Unicode/math minus (U+2212,
matplotlib's own minus glyph), e.g. −0.″05 instead of -0.″05. Applies
to both the suffix and symbol-over-decimal label formats and is the
single tick-label chokepoint used by all 2D plot panels.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 59a7802 commit b6a992a
3 files changed
Lines changed: 38 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
914 | 922 | | |
915 | 923 | | |
916 | 924 | | |
| |||
922 | 930 | | |
923 | 931 | | |
924 | 932 | | |
925 | | - | |
| 933 | + | |
926 | 934 | | |
927 | | - | |
| 935 | + | |
928 | 936 | | |
929 | | - | |
| 937 | + | |
930 | 938 | | |
931 | 939 | | |
932 | 940 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
0 commit comments