Skip to content

Commit c3a1713

Browse files
committed
MNT: remove a few un-needed usages of "master"
1 parent 84512bd commit c3a1713

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ def test_inverted_cla():
416416
assert not ax.xaxis_inverted()
417417
assert ax.yaxis_inverted()
418418

419-
# 5. two shared axes. Inverting the master axis should invert the shared
420-
# axes; clearing the master axis should bring axes in shared
419+
# 5. two shared axes. Inverting the leader axis should invert the shared
420+
# axes; clearing the leader axis should bring axes in shared
421421
# axes back to normal.
422422
ax0 = plt.subplot(211)
423423
ax1 = plt.subplot(212, sharey=ax0)
@@ -427,7 +427,7 @@ def test_inverted_cla():
427427
ax0.cla()
428428
assert not ax1.yaxis_inverted()
429429
ax1.cla()
430-
# 6. clearing the nonmaster should not touch limits
430+
# 6. clearing the nonleader should not touch limits
431431
ax0.imshow(img)
432432
ax1.plot(x, np.cos(x))
433433
ax1.cla()
@@ -507,7 +507,7 @@ def test_use_sticky_edges():
507507
@check_figures_equal(extensions=["png"])
508508
def test_sticky_shared_axes(fig_test, fig_ref):
509509
# Check that sticky edges work whether they are set in an axes that is a
510-
# "master" in a share, or an axes that is a "follower".
510+
# "leader" in a share, or an axes that is a "follower".
511511
Z = np.arange(15).reshape(3, 5)
512512

513513
ax0 = fig_test.add_subplot(211)

tutorials/toolkits/axes_grid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
`.AxesDivider.append_axes` can then be used to create a new axes on a given
7777
side ("left", "right", "top", "bottom") of the original axes.
7878
79-
colorbar whose height (or width) in sync with the master axes
80-
-------------------------------------------------------------
79+
colorbar whose height (or width) in sync with the main axes
80+
-----------------------------------------------------------
8181
8282
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_simple_colorbar_001.png
8383
:target: ../../gallery/axes_grid1/simple_colorbar.html

0 commit comments

Comments
 (0)