Skip to content

Commit c51e6e1

Browse files
committed
Handle non-float thickness as before; add images
1 parent 18f80ac commit c51e6e1

File tree

1,049 files changed

+1
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,049 files changed

+1
-0
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2754,6 +2754,7 @@ def _genfrac(self, ldelim, rdelim, thickness, style, num, den):
27542754
cap_height = state.font_output.get_metrics(
27552755
state.font, mpl.rcParams['mathtext.default'],
27562756
'H', state.fontsize, state.dpi).height
2757+
thickness = float(thickness)
27572758

27582759
if style is not self._MathStyle.DISPLAYSTYLE:
27592760
num.shrink()
6 Bytes
83 Bytes
87 Bytes
32 Bytes
85 Bytes
50 Bytes
83 Bytes
83 Bytes
83 Bytes

0 commit comments

Comments
 (0)