Skip to content

Commit 8bd56a3

Browse files
committed
update function names and docstrings
1 parent b42c463 commit 8bd56a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pygmt/tests/test_makecpt.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def test_makecpt_plot_points(points, region):
5656

5757

5858
@pytest.mark.mpl_image_compare
59-
def test_makecpt_plot_grid(position):
59+
def test_makecpt_plot_colorbar(position):
6060
"""
61-
Use static color palette table to change color of grid.
61+
Use static color palette table to plot a colorbar.
6262
"""
6363
fig = Figure()
6464
makecpt(cmap="relief")
@@ -67,10 +67,10 @@ def test_makecpt_plot_grid(position):
6767

6868

6969
@pytest.mark.mpl_image_compare
70-
def test_makecpt_plot_grid_scaled_with_series(position):
70+
def test_makecpt_plot_colorbar_scaled_with_series(position):
7171
"""
72-
Use static color palette table scaled to a min/max series to change color
73-
of grid.
72+
Use static color palette table scaled to a min/max series and plot it on a
73+
colorbar.
7474
"""
7575
fig = Figure()
7676
makecpt(cmap="oleron", series=[0, 1000])

0 commit comments

Comments
 (0)