diff --git a/lib/matplotlib/tests/test_datetime.py b/lib/matplotlib/tests/test_datetime.py index 3c8cc8b5b8bb..384568516b2a 100644 --- a/lib/matplotlib/tests/test_datetime.py +++ b/lib/matplotlib/tests/test_datetime.py @@ -734,11 +734,19 @@ def test_tricontour(self): fig, ax = plt.subplots() ax.tricontour(...) - @pytest.mark.xfail(reason="Test for tricontourf not written yet") @mpl.style.context("default") - def test_tricontourf(self): - fig, ax = plt.subplots() - ax.tricontourf(...) + def test_tricontour(self): + mpl.rcParams["date.converter"] = "concise" + fig, ax = plt.subplots() + range_threshold = 10 + np.random.seed(19680801) + x_dates = np.array( + [datetime.datetime(2023, 10, n) for n in range(1, range_threshold)] + ) + x_dates_numeric = mpl.dates.date2num(x_dates) + y_data = np.random.rand(range_threshold - 1) * range_threshold + z_data = np.sin(x_dates_numeric) + y_data**2 + @pytest.mark.xfail(reason="Test for tripcolor not written yet") @mpl.style.context("default") pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy