Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 092256a

Browse filesBrowse files
authored
Merge pull request #14162 from meeseeksmachine/auto-backport-of-pr-14150-on-v3.1.x
Backport PR #14150 on branch v3.1.x (Fix deprecation of withdash for figtext().)
2 parents c206ea5 + 7965bf8 commit 092256a
Copy full SHA for 092256a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,8 @@ def text(self, x, y, s, fontdict=None, withdash=False, **kwargs):
18601860
"""
18611861
default = dict(transform=self.transFigure)
18621862

1863-
if withdash:
1863+
if (withdash
1864+
and withdash is not cbook.deprecation._deprecated_parameter):
18641865
text = TextWithDash(x=x, y=y, text=s)
18651866
else:
18661867
text = Text(x=x, y=y, text=s)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.