8000 TST: Enable grid within test_rc_grid test. · matplotlib/matplotlib@8e7e7db · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e7e7db

Browse files
committed
TST: Enable grid within test_rc_grid test.
The provided settings only state which direction to use the grid, but never actually enabled it. Fixes #5535.
1 parent ba9ee86 commit 8e7e7db
8000

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4007,12 +4007,15 @@ def test_rc_spines():
40074007
def test_rc_grid():
40084008
fig = plt.figure()
40094009
rc_dict0 = {
4010+
'axes.grid': True,
40104011
'axes.grid.axis': 'both'
40114012
}
40124013
rc_dict1 = {
4014+
'axes.grid': True,
40134015
'axes.grid.axis': 'x'
40144016
}
40154017
rc_dict2 = {
4018+
'axes.grid': True,
40164019
'axes.grid.axis': 'y'
40174020
}
40184021
dict_list = [rc_dict0, rc_dict1, rc_dict2]

0 commit comments

Comments
 (0)
0