Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e764f37

Browse files
committed
rebase with origin/master (up to date with upstream/master)
1 parent 228b768 commit e764f37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,7 @@ def _update_position_xytext(self, renderer, xy_pixel):
22252225
width=w,
22262226
height=h,
22272227
)
2228-
r.set_transform(mtransforms.IdentityTransform())
2228+
r.transform = mtransforms.IdentityTransform()
22292229
r.set_clip_on(False)
22302230

22312231
self.arrow_patch.set_patchA(r)

lib/matplotlib/traitlets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
Dict, List, Instance, Union, Unicode,
1616
Tuple, TraitError, Undefined, getargspec)
1717

18+
import re
1819
import numpy as np
19-
2020
from types import MethodType
2121
from .transforms import IdentityTransform, Transform
2222

0 commit comments

Comments
 (0)