Skip to content

Commit 20f50c0

Browse files
committed
Remove entries of MathTextParser._backend_mapping deprecated in 3.4.
00ad9c4 replaced the entries for "bitmap", etc. to MathtextBackendAgg/MathtextBackendPath (from the earlier MathtextBackendBitmap, etc., which had been deprecated in 3.4), but the intent was actually to remove these entries as well upon deprecation expiration; e.g. in 3.5 `MathTextParser("bitmap").parse("foo")` raises a DeprecationWarning.
1 parent 3c6efec commit 20f50c0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/matplotlib/mathtext.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,8 @@ class MathTextParser:
202202
_parser = None
203203

204204
_backend_mapping = {
205-
'bitmap': MathtextBackendPath,
206205
'agg': MathtextBackendAgg,
207-
'ps': MathtextBackendPath,
208-
'pdf': MathtextBackendPath,
209-
'svg': MathtextBackendPath,
210206
'path': MathtextBackendPath,
211-
'cairo': MathtextBackendPath,
212207
'macosx': MathtextBackendAgg,
213208
}
214209
_font_type_mapping = {

0 commit comments

Comments
 (0)