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

Skip to content

Commit d8833f4

Browse files
committed
POC
1 parent bf96ff5 commit d8833f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@ def secondary_xaxis(self, loc, conversion, **kwargs):
678678
self.add_child_axes(secondary_ax)
679679
return secondary_ax
680680

681-
682681
def text(self, x, y, s, fontdict=None, withdash=False, **kwargs):
683682
"""
684683
Add text to the axes.

lib/matplotlib/axes/_secondary_axes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
# DUPE FROM AXES. FIXME...
1111

12+
1213
def _make_inset_locator(rect, trans, parent):
1314
"""
1415
Helper function to locate inset axes, used in
@@ -142,7 +143,7 @@ def set_conversion(self, conversion):
142143
shp = len(conversion)
143144
if shp < 2:
144145
conversion = np.array([conversion, 0.])
145-
self._convert = lambda x : np.polyval(conversion, x)
146+
self._convert = lambda x: np.polyval(conversion, x)
146147

147148
def draw(self, renderer=None, inframe=False):
148149
"""

0 commit comments

Comments
 (0)