8000 MNT: remove explicit label setting · matplotlib/matplotlib@f0f682e · GitHub
[go: up one dir, main page]

Skip to content

Commit f0f682e

Browse files
committed
MNT: remove explicit label setting
This is already done at creation time.
1 parent 8f0003a commit f0f682e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/figure.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2048,9 +2048,7 @@ def _do_layout(gs, mosaic, unique_ids, nested):
20482048
if sharey:
20492049
ax.sharey(ax0)
20502050
ax._label_outer_yaxis(check_patch=True)
2051-
for k, ax in ret.items():
2052-
if isinstance(k, str):
2053-
ax.set_label(k)
2051+
20542052
return ret
20552053

20562054
def _set_artist_props(self, a):

0 commit comments

Comments
 (0)
0