8000 Avoid calling a deprecated API in axis_artist. · matplotlib/matplotlib@d9d3bdb · GitHub
[go: up one dir, main page]

Skip to content

Commit d9d3bdb

Browse files
committed
Avoid calling a deprecated API in axis_artist.
1 parent 6b3c015 commit d9d3bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/axisartist/axis_artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def get_texts_widths_heights_descents(self, renderer):
714714
for (x, y), a, l in self._locs_angles_labels:
715715
if not l.strip():
716716
continue
717-
clean_line, ismath = self.is_math_text(l)
717+
clean_line, ismath = self._preprocess_math(l)
718718
whd = renderer.get_text_width_height_descent(
719719
clean_line, self._fontproperties, ismath=ismath)
720720
whd_list.append(whd)

0 commit comments

Comments
 (0)
0