🌐 AI搜索 & 代理 主页
Skip to content

Commit 873b41d

Browse files
committed
Fix codecov test failure
1 parent d14614d commit 873b41d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2796,13 +2796,9 @@ def _genfrac(self, ldelim, rdelim, rule, style, num, den):
27962796

27972797
# Shift so the fraction line sits in the middle of the
27982798
# minus sign
2799-
if mpl.rcParams['axes.unicode_minus']:
2800-
minus_sign = '\u2212'
2801-
else:
2802-
minus_sign = '-'
28032799
metrics = state.font_output.get_metrics(
28042800
state.font, mpl.rcParams['mathtext.default'],
2805-
minus_sign, state.fontsize, state.dpi)
2801+
'\u2212', state.fontsize, state.dpi)
28062802
shift = (denominator_padding + cden.height -
28072803
(metrics.ymax + metrics.ymin) / 2 - rule / 2)
28082804
vlist.shift_amount = shift

0 commit comments

Comments
 (0)