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

Skip to content

Commit 1dd3ddd

Browse files
reset
1 parent bc118a9 commit 1dd3ddd

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

lib/matplotlib/tests/test_datetime.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -170,20 +170,11 @@ def test_hexbin(self):
170170
fig, ax = plt.subplots()
171171
ax.hexbin(...)
172172

173-
# Benjamin
174-
# @pytest.mark.xfail(reason="Test for hist not written yet")
173+
@pytest.mark.xfail(reason="Test for hist not written yet")
175174
@mpl.style.context("default")
176175
def test_hist(self):
177-
mpl.rcParams["date.converter"] = "concise"
178-
N = 10
179-
fig, (ax1, ax2, ax3) = plt.subplots(
180-
3, 1, layout="constrained", figsize=(6, 10)
181-
)
182-
183-
x = np.array([datetime.datetime(2023, 9, n) for n in range(1, N)])
184-
ax1.hist(x, range(1, N))
185-
ax2.hist(range(1, N), x)
186-
ax3.hist(x, x)
176+
fig, ax = plt.subplots()
177+
ax.hist(...)
187178

188179
@pytest.mark.xfail(reason="Test for hist2d not written yet")
189180
@mpl.style.context("default")

0 commit comments

Comments
 (0)