content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
import datetime\nimport numpy as np\n\nimport pytest\n\nimport matplotlib.pyplot as plt\nimport matplotlib as mpl\n\n\nclass TestDatetimePlotting:\n @mpl.style.context("default")\n def test_annotate(self):\n mpl.rcParams["date.converter"] = 'concise'\n fig, (ax1, ax2, ax3, ax4) = plt.subplots(4, 1, ...
.venv\Lib\site-packages\matplotlib\tests\test_datetime.py
test_datetime.py
Python
32,635
0.95
0.144509
0.009642
python-kit
274
2025-06-19T06:47:57.572258
GPL-3.0
true
4f1ff33ec85c8199a4e6bd94f5356b00
"""\nTest output reproducibility.\n"""\n\nimport os\nimport sys\n\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib import pyplot as plt\nfrom matplotlib.cbook import get_sample_data\nfrom matplotlib.collections import PathCollection\nfrom matplotlib.image import BboxImage\nfrom matplotlib.offsetbox import An...
.venv\Lib\site-packages\matplotlib\tests\test_determinism.py
test_determinism.py
Python
7,958
0.95
0.105505
0.064171
vue-tools
952
2024-02-19T20:07:10.033899
Apache-2.0
true
a052c9fadf933a058ce94c28421db83d
import pytest\n\n\ndef test_sphinx_gallery_example_header():\n """\n We have copied EXAMPLE_HEADER and modified it to include meta keywords.\n This test monitors that the version we have copied is still the same as\n the EXAMPLE_HEADER in sphinx-gallery. If sphinx-gallery changes its\n EXAMPLE_HEADER, th...
.venv\Lib\site-packages\matplotlib\tests\test_doc.py
test_doc.py
Python
1,015
0.85
0.085714
0
react-lib
590
2024-08-09T13:06:05.654252
MIT
true
931af504c49c3888c68f9fb6a43e2afd
import json\nfrom pathlib import Path\nimport shutil\n\nimport matplotlib.dviread as dr\nimport pytest\n\n\ndef test_PsfontsMap(monkeypatch):\n monkeypatch.setattr(dr, 'find_tex_file', lambda x: x.decode())\n\n filename = str(Path(__file__).parent / 'baseline_images/dviread/test.map')\n fontmap = dr.PsfontsMap...
.venv\Lib\site-packages\matplotlib\tests\test_dviread.py
test_dviread.py
Python
2,764
0.95
0.12987
0.112676
awesome-app
451
2025-06-18T21:58:10.497021
MIT
true
e7d568cc87682a831b0865238c8472e3
import copy\nfrom datetime import datetime\nimport io\nimport pickle\nimport platform\nfrom threading import Timer\nfrom types import SimpleNamespace\nimport warnings\n\nimport numpy as np\nimport pytest\nfrom PIL import Image\n\nimport matplotlib as mpl\nfrom matplotlib import gridspec\nfrom matplotlib.testing.decorat...
.venv\Lib\site-packages\matplotlib\tests\test_figure.py
test_figure.py
Python
60,289
0.75
0.107084
0.064227
python-kit
802
2024-06-01T23:12:06.610462
GPL-3.0
true
5621cc146daf8c4b98f7ef90bc83b5d2
import pytest\n\nfrom matplotlib.font_manager import FontProperties\n\n\n# Attributes on FontProperties object to check for consistency\nkeys = [\n "get_family",\n "get_style",\n "get_variant",\n "get_weight",\n "get_size",\n ]\n\n\ndef test_fontconfig_pattern():\n """Test converting a FontProperti...
.venv\Lib\site-packages\matplotlib\tests\test_fontconfig_pattern.py
test_fontconfig_pattern.py
Python
2,168
0.95
0.142857
0.118644
node-utils
900
2025-02-02T05:36:57.966837
Apache-2.0
true
85a83ff1c9362bc06b7f318cd1f2521f
from io import BytesIO, StringIO\nimport gc\nimport multiprocessing\nimport os\nfrom pathlib import Path\nfrom PIL import Image\nimport shutil\nimport sys\nimport warnings\n\nimport numpy as np\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib.font_manager import (\n findfont, findSystemFonts, FontEntry, F...
.venv\Lib\site-packages\matplotlib\tests\test_font_manager.py
test_font_manager.py
Python
14,136
0.95
0.161369
0.11215
vue-tools
628
2025-03-25T13:46:55.773629
MIT
true
4557620b33fd4651136c0559a50cec86
import itertools\nimport io\nfrom pathlib import Path\n\nimport numpy as np\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib import ft2font\nfrom matplotlib.testing.decorators import check_figures_equal\nimport matplotlib.font_manager as fm\nimport matplotlib.path as mpath\nimport matplotlib.pyplot as plt\n\...
.venv\Lib\site-packages\matplotlib\tests\test_ft2font.py
test_ft2font.py
Python
40,838
0.95
0.059385
0.047235
vue-tools
829
2023-11-24T00:51:57.103056
Apache-2.0
true
98ab7625d8652e5605cf43a0742a091e
from importlib import import_module\nfrom pkgutil import walk_packages\n\nimport matplotlib\nimport pytest\n\n# Get the names of all matplotlib submodules,\n# except for the unit tests and private modules.\nmodule_names = [\n m.name\n for m in walk_packages(\n path=matplotlib.__path__, prefix=f'{matplotlib...
.venv\Lib\site-packages\matplotlib\tests\test_getattr.py
test_getattr.py
Python
1,090
0.95
0.228571
0.1
awesome-app
611
2024-03-02T16:53:51.894940
BSD-3-Clause
true
aa87b1efa86d4d8b60581afbb01d6ad2
import matplotlib.gridspec as gridspec\nimport matplotlib.pyplot as plt\nimport pytest\n\n\ndef test_equal():\n gs = gridspec.GridSpec(2, 1)\n assert gs[0, 0] == gs[0, 0]\n assert gs[:, 0] == gs[:, 0]\n\n\ndef test_width_ratios():\n """\n Addresses issue #5835.\n See at https://github.com/matplotlib/m...
.venv\Lib\site-packages\matplotlib\tests\test_gridspec.py
test_gridspec.py
Python
1,580
0.95
0.1
0.025641
vue-tools
194
2024-01-05T01:49:49.035478
Apache-2.0
true
9fb632c2608db7a5a95d2f9cb596bc59
from contextlib import ExitStack\nfrom copy import copy\nimport functools\nimport io\nimport os\nfrom pathlib import Path\nimport platform\nimport sys\nimport urllib.request\n\nimport numpy as np\nfrom numpy.testing import assert_array_equal\nfrom PIL import Image\n\nimport matplotlib as mpl\nfrom matplotlib import (\n...
.venv\Lib\site-packages\matplotlib\tests\test_image.py
test_image.py
Python
59,562
0.75
0.094891
0.093927
vue-tools
241
2023-07-28T11:00:41.308111
MIT
true
86d134fbd598a19bf1a02510a278b4b7
import collections\nimport io\nimport itertools\nimport platform\nimport time\nfrom unittest import mock\nimport warnings\n\nimport numpy as np\nfrom numpy.testing import assert_allclose\nimport pytest\n\nfrom matplotlib.testing.decorators import check_figures_equal, image_comparison\nfrom matplotlib.testing._markers i...
.venv\Lib\site-packages\matplotlib\tests\test_legend.py
test_legend.py
Python
54,829
0.75
0.140434
0.087986
react-lib
541
2024-10-12T06:30:15.791918
BSD-3-Clause
true
639a67f50d53727f39dcd812e75578f7
"""\nTests specific to the lines module.\n"""\n\nimport itertools\nimport platform\nimport timeit\nfrom types import SimpleNamespace\n\nfrom cycler import cycler\nimport numpy as np\nfrom numpy.testing import assert_array_equal\nimport pytest\n\nimport matplotlib\nimport matplotlib as mpl\nfrom matplotlib import _path\...
.venv\Lib\site-packages\matplotlib\tests\test_lines.py
test_lines.py
Python
15,035
0.95
0.119469
0.112994
react-lib
768
2024-07-15T23:16:05.972618
BSD-3-Clause
true
326ae98092e056a397f94658a06dd081
import numpy as np\nimport matplotlib.pyplot as plt\nfrom matplotlib import markers\nfrom matplotlib.path import Path\nfrom matplotlib.testing.decorators import check_figures_equal\nfrom matplotlib.transforms import Affine2D\n\nimport pytest\n\n\ndef test_marker_fillstyle():\n marker_style = markers.MarkerStyle(mark...
.venv\Lib\site-packages\matplotlib\tests\test_marker.py
test_marker.py
Python
11,410
0.95
0.075908
0.134694
vue-tools
518
2024-06-09T21:30:35.660336
MIT
true
1f84ef36625a41756bc31ab4db5e194e
from __future__ import annotations\n\nimport io\nfrom pathlib import Path\nimport platform\nimport re\nfrom xml.etree import ElementTree as ET\nfrom typing import Any\n\nimport numpy as np\nfrom packaging.version import parse as parse_version\nimport pyparsing\nimport pytest\n\n\nimport matplotlib as mpl\nfrom matplotl...
.venv\Lib\site-packages\matplotlib\tests\test_mathtext.py
test_mathtext.py
Python
24,549
0.95
0.089286
0.063265
node-utils
700
2023-10-18T03:29:46.220394
MIT
true
26de6bdb395814223b4c57353c9b8c48
import os\nimport subprocess\nimport sys\n\nimport pytest\n\nimport matplotlib\nfrom matplotlib.testing import subprocess_run_for_testing\n\n\n@pytest.mark.parametrize('version_str, version_tuple', [\n ('3.5.0', (3, 5, 0, 'final', 0)),\n ('3.5.0rc2', (3, 5, 0, 'candidate', 2)),\n ('3.5.0.dev820+g6768ef8c4c', (...
.venv\Lib\site-packages\matplotlib\tests\test_matplotlib.py
test_matplotlib.py
Python
2,887
0.95
0.146341
0
react-lib
945
2023-08-20T18:05:19.979353
GPL-3.0
true
9f41795ede005a7b4010f7ec4caa4387
from numpy.testing import (assert_allclose, assert_almost_equal,\n assert_array_equal, assert_array_almost_equal_nulp)\nimport numpy as np\nimport pytest\n\nfrom matplotlib import mlab\n\n\ndef test_window():\n np.random.seed(0)\n n = 1000\n rand = np.random.standard_normal(n) + 100\n...
.venv\Lib\site-packages\matplotlib\tests\test_mlab.py
test_mlab.py
Python
42,269
0.95
0.127202
0.046307
react-lib
832
2025-05-16T04:28:32.738833
BSD-3-Clause
true
294d0752d703f5d91d3ab0b3bdd9d096
import numpy as np\nfrom numpy.testing import assert_array_equal, assert_allclose\nimport matplotlib.pyplot as plt\nfrom matplotlib.testing.decorators import (image_comparison,\n remove_ticks_and_titles)\nimport matplotlib as mpl\nimport pytest\nfrom pathlib import Path\nfrom i...
.venv\Lib\site-packages\matplotlib\tests\test_multivariate_colormaps.py
test_multivariate_colormaps.py
Python
20,785
0.95
0.042553
0.078261
vue-tools
828
2025-03-19T20:35:11.682649
BSD-3-Clause
true
09dce441b0c3dd9f891b4ab5d8168d05
from collections import namedtuple\nimport io\n\nimport numpy as np\nfrom numpy.testing import assert_allclose\nimport pytest\n\nfrom matplotlib.testing.decorators import check_figures_equal, image_comparison\nimport matplotlib.pyplot as plt\nimport matplotlib.patches as mpatches\nimport matplotlib.lines as mlines\nfro...
.venv\Lib\site-packages\matplotlib\tests\test_offsetbox.py
test_offsetbox.py
Python
16,137
0.95
0.077922
0.107612
vue-tools
136
2024-05-01T14:02:19.518911
Apache-2.0
true
f66f27753800445262961dbcd0e8ec15
"""\nTests specific to the patches module.\n"""\nimport platform\n\nimport numpy as np\nfrom numpy.testing import assert_almost_equal, assert_array_equal\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib.patches import (Annulus, Ellipse, Patch, Polygon, Rectangle,\n FancyArrowPa...
.venv\Lib\site-packages\matplotlib\tests\test_patches.py
test_patches.py
Python
33,466
0.95
0.072927
0.079146
python-kit
773
2024-08-01T00:24:59.819162
Apache-2.0
true
6c0f3c6fa2bec49bbcec185781c57d6b
import platform\nimport re\n\nimport numpy as np\n\nfrom numpy.testing import assert_array_equal\nimport pytest\n\nfrom matplotlib import patches\nfrom matplotlib.path import Path\nfrom matplotlib.patches import Polygon\nfrom matplotlib.testing.decorators import image_comparison\nimport matplotlib.pyplot as plt\nfrom m...
.venv\Lib\site-packages\matplotlib\tests\test_path.py
test_path.py
Python
22,158
0.95
0.084936
0.114919
python-kit
596
2025-03-01T03:57:10.594823
BSD-3-Clause
true
d0865d26db537181a88c68962683a605
import platform\n\nimport numpy as np\n\nfrom matplotlib.testing.decorators import image_comparison\nimport matplotlib.pyplot as plt\nimport matplotlib.patheffects as path_effects\nfrom matplotlib.path import Path\nimport matplotlib.patches as patches\nfrom matplotlib.backend_bases import RendererBase\nfrom matplotlib....
.venv\Lib\site-packages\matplotlib\tests\test_patheffects.py
test_patheffects.py
Python
8,109
0.95
0.082949
0.02924
node-utils
894
2024-07-13T01:51:56.984462
MIT
true
a2369a3bf1fc5bd3d06762f3659d2ce4
from io import BytesIO\nimport ast\nimport os\nimport sys\nimport pickle\nimport pickletools\n\nimport numpy as np\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib import cm\nfrom matplotlib.testing import subprocess_run_helper, is_ci_environment\nfrom matplotlib.testing.decorators import check_figures_equal...
.venv\Lib\site-packages\matplotlib\tests\test_pickle.py
test_pickle.py
Python
10,014
0.95
0.091445
0.097276
vue-tools
977
2023-11-06T06:56:29.854208
GPL-3.0
true
04287b0cedecfab98e36f93a09fc4b5a
from io import BytesIO\nfrom pathlib import Path\n\nimport pytest\n\nfrom matplotlib.testing.decorators import image_comparison\nfrom matplotlib import cm, pyplot as plt\n\n\n@image_comparison(['pngsuite.png'], tol=0.04)\ndef test_pngsuite():\n files = sorted(\n (Path(__file__).parent / "baseline_images/pngsu...
.venv\Lib\site-packages\matplotlib\tests\test_png.py
test_png.py
Python
1,407
0.95
0.09434
0.075
react-lib
534
2025-05-29T23:41:57.438555
BSD-3-Clause
true
7c9f0aa11e4e477d259b059a3b4b46da
import numpy as np\nfrom numpy.testing import assert_allclose\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib import pyplot as plt\nfrom matplotlib.testing.decorators import image_comparison, check_figures_equal\n\n\n@image_comparison(['polar_axes.png'], style='default', tol=0.012)\ndef test_polar_annotatio...
.venv\Lib\site-packages\matplotlib\tests\test_polar.py
test_polar.py
Python
17,607
0.95
0.108268
0.077307
python-kit
49
2024-12-19T01:18:20.333512
GPL-3.0
true
a069d3c3d850035767fa2e5cf5e141c1
import re\nimport sys\n\nimport numpy as np\nimport pytest\n\nfrom matplotlib import _preprocess_data\nfrom matplotlib.axes import Axes\nfrom matplotlib.testing import subprocess_run_for_testing\nfrom matplotlib.testing.decorators import check_figures_equal\n\n# Notes on testing the plotting functions itself\n# * the...
.venv\Lib\site-packages\matplotlib\tests\test_preprocess_data.py
test_preprocess_data.py
Python
11,363
0.95
0.09375
0.04721
vue-tools
689
2023-12-23T12:59:50.424206
BSD-3-Clause
true
045c783a039f9d277624bcd34e2558c6
import difflib\n\nimport numpy as np\nimport sys\nfrom pathlib import Path\n\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib.testing import subprocess_run_for_testing\nfrom matplotlib import pyplot as plt\n\n\ndef test_pyplot_up_to_date(tmp_path):\n pytest.importorskip("black")\n\n gen_script = Path(m...
.venv\Lib\site-packages\matplotlib\tests\test_pyplot.py
test_pyplot.py
Python
13,910
0.95
0.119588
0.074935
vue-tools
398
2024-09-20T18:38:37.765854
Apache-2.0
true
0e9e69876d134741305b9a78deb72a87
import platform\nimport sys\n\nimport numpy as np\nimport pytest\n\nfrom matplotlib import pyplot as plt\nfrom matplotlib.testing.decorators import image_comparison\nfrom matplotlib.testing.decorators import check_figures_equal\n\n\ndef draw_quiver(ax, **kwargs):\n X, Y = np.meshgrid(np.arange(0, 2 * np.pi, 1),\n ...
.venv\Lib\site-packages\matplotlib\tests\test_quiver.py
test_quiver.py
Python
11,953
0.95
0.098191
0.065147
node-utils
27
2025-01-22T12:57:19.358449
Apache-2.0
true
f08a8ca83ef7df00a8f53587efb8a58a
import copy\nimport os\nimport subprocess\nimport sys\nfrom unittest import mock\n\nfrom cycler import cycler, Cycler\nfrom packaging.version import parse as parse_version\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib import _api, _c_internal_utils\nimport matplotlib.pyplot as plt\nimport matplotlib.color...
.venv\Lib\site-packages\matplotlib\tests\test_rcparams.py
test_rcparams.py
Python
26,506
0.95
0.09824
0.083752
node-utils
798
2024-08-11T08:50:02.513212
MIT
true
c1d539f2e29f257c40c5c82836f2344c
import pytest\nfrom numpy.testing import assert_allclose, assert_array_equal\n\nfrom matplotlib.sankey import Sankey\nfrom matplotlib.testing.decorators import check_figures_equal\n\n\ndef test_sankey():\n # lets just create a sankey instance and check the code runs\n sankey = Sankey()\n sankey.add()\n\n\ndef ...
.venv\Lib\site-packages\matplotlib\tests\test_sankey.py
test_sankey.py
Python
3,900
0.95
0.095238
0.023529
node-utils
81
2025-01-20T10:11:20.448586
Apache-2.0
true
875eed882b8dad64d79dc49b01962424
import copy\n\nimport matplotlib.pyplot as plt\nfrom matplotlib.scale import (\n AsinhScale, AsinhTransform,\n LogTransform, InvertedLogTransform,\n SymmetricalLogTransform)\nimport matplotlib.scale as mscale\nfrom matplotlib.ticker import AsinhLocator, LogFormatterSciNotation\nfrom matplotlib.testing.decorato...
.venv\Lib\site-packages\matplotlib\tests\test_scale.py
test_scale.py
Python
8,429
0.95
0.098305
0.044444
vue-tools
740
2023-12-26T22:15:48.566688
MIT
true
aa1337ed9be775be3c6f8987692fb55b
import base64\nimport io\nimport platform\n\nimport numpy as np\nfrom numpy.testing import assert_array_almost_equal, assert_array_equal\n\nimport pytest\n\nfrom matplotlib.testing.decorators import (\n check_figures_equal, image_comparison, remove_ticks_and_titles)\nimport matplotlib.pyplot as plt\n\nfrom matplotli...
.venv\Lib\site-packages\matplotlib\tests\test_simplification.py
test_simplification.py
Python
21,570
0.95
0.054291
0.104121
awesome-app
188
2025-03-13T15:44:37.252555
BSD-3-Clause
true
c30798e776319eb19142a435969fb31b
"""\nTesting that skewed Axes properly work.\n"""\n\nfrom contextlib import ExitStack\nimport itertools\nimport platform\n\nimport matplotlib.pyplot as plt\nfrom matplotlib.testing.decorators import image_comparison\n\nfrom matplotlib.axes import Axes\nimport matplotlib.transforms as transforms\nimport matplotlib.axis ...
.venv\Lib\site-packages\matplotlib\tests\test_skew.py
test_skew.py
Python
6,349
0.95
0.176471
0.185185
awesome-app
166
2024-07-14T09:19:05.879185
MIT
true
5229866e641b430dacfa89a0182017a7
"""Tests for tinypages build using sphinx extensions."""\n\nimport filecmp\nimport os\nfrom pathlib import Path\nimport shutil\nimport sys\n\nfrom matplotlib.testing import subprocess_run_for_testing\nimport pytest\n\n\npytest.importorskip('sphinx', minversion='4.1.3')\n\n\ndef build_sphinx_html(source_dir, doctree_dir...
.venv\Lib\site-packages\matplotlib\tests\test_sphinxext.py
test_sphinxext.py
Python
9,937
0.95
0.123348
0.208333
awesome-app
184
2024-01-17T12:11:41.046170
MIT
true
00113a3a4f95942be2be398187dc3b74
import numpy as np\nimport pytest\n\nimport matplotlib.pyplot as plt\nfrom matplotlib.spines import Spines\nfrom matplotlib.testing.decorators import check_figures_equal, image_comparison\n\n\ndef test_spine_class():\n """Test Spines and SpinesProxy in isolation."""\n class SpineMock:\n def __init__(self):...
.venv\Lib\site-packages\matplotlib\tests\test_spines.py
test_spines.py
Python
4,909
0.95
0.089744
0.054264
awesome-app
690
2024-11-22T19:57:50.165297
BSD-3-Clause
true
8903c665af38fbe197eba37924a69866
import numpy as np\nfrom numpy.testing import assert_array_almost_equal\nimport pytest\nimport matplotlib.pyplot as plt\nfrom matplotlib.testing.decorators import image_comparison\nimport matplotlib.transforms as mtransforms\n\n\ndef velocity_field():\n Y, X = np.mgrid[-3:3:100j, -3:3:200j]\n U = -1 - X**2 + Y\n ...
.venv\Lib\site-packages\matplotlib\tests\test_streamplot.py
test_streamplot.py
Python
5,731
0.95
0.106509
0.08209
node-utils
293
2024-10-08T02:55:33.423648
MIT
true
fe53661797c46a9da1666cfe3040c33f
from contextlib import contextmanager\nfrom pathlib import Path\nfrom tempfile import TemporaryDirectory\nimport sys\n\nimport numpy as np\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib import pyplot as plt, style\nfrom matplotlib.style.core import USER_LIBRARY_PATHS, STYLE_EXTENSION\n\n\nPARAM = 'image.cm...
.venv\Lib\site-packages\matplotlib\tests\test_style.py
test_style.py
Python
6,509
0.95
0.116751
0.044304
react-lib
189
2025-01-21T13:08:47.336635
BSD-3-Clause
true
8dfc83f8bd5b58a9be7af6c837839d55
import itertools\nimport platform\n\nimport numpy as np\nimport pytest\n\nfrom matplotlib.axes import Axes, SubplotBase\nimport matplotlib.pyplot as plt\nfrom matplotlib.testing.decorators import check_figures_equal, image_comparison\n\n\ndef check_shared(axs, x_shared, y_shared):\n """\n x_shared and y_shared ar...
.venv\Lib\site-packages\matplotlib\tests\test_subplots.py
test_subplots.py
Python
10,771
0.95
0.139373
0.073469
python-kit
778
2024-10-25T15:29:38.215901
Apache-2.0
true
2cdffd4267c01579223ca26b353e26f6
import datetime\nfrom unittest.mock import Mock\n\nimport numpy as np\n\nimport matplotlib.pyplot as plt\nfrom matplotlib.path import Path\nfrom matplotlib.table import CustomCell, Table\nfrom matplotlib.testing.decorators import image_comparison, check_figures_equal\nfrom matplotlib.transforms import Bbox\nimport matp...
.venv\Lib\site-packages\matplotlib\tests\test_table.py
test_table.py
Python
8,659
0.95
0.09894
0.057522
vue-tools
835
2023-08-09T03:45:59.893594
MIT
true
f320160d5ff8959afeb0160ae6634ebc
import warnings\n\nimport pytest\n\nimport matplotlib.pyplot as plt\nfrom matplotlib.testing.decorators import check_figures_equal\n\n\n@pytest.mark.xfail(\n strict=True, reason="testing that warnings fail tests"\n)\ndef test_warn_to_fail():\n warnings.warn("This should fail the test")\n\n\n@pytest.mark.parametri...
.venv\Lib\site-packages\matplotlib\tests\test_testing.py
test_testing.py
Python
1,057
0.85
0.195122
0
awesome-app
287
2023-07-26T07:58:45.555791
MIT
true
6ca12d10aaf482279f4371d1fd3598c4
import os\nfrom pathlib import Path\nimport re\nimport sys\n\nimport pytest\n\nimport matplotlib.pyplot as plt\nfrom matplotlib.testing import subprocess_run_for_testing\nfrom matplotlib.testing._markers import needs_usetex\nfrom matplotlib.texmanager import TexManager\n\n\ndef test_fontconfig_preamble():\n """Test ...
.venv\Lib\site-packages\matplotlib\tests\test_texmanager.py
test_texmanager.py
Python
2,647
0.95
0.053333
0.064516
awesome-app
711
2023-10-04T16:34:39.699822
BSD-3-Clause
true
411740a34151e4d196ada8941edf9aad
from datetime import datetime\nimport io\nimport warnings\n\nimport numpy as np\nfrom numpy.testing import assert_almost_equal\nfrom packaging.version import parse as parse_version\nimport pyparsing\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib.backend_bases import MouseEvent\nfrom matplotlib.backends.bac...
.venv\Lib\site-packages\matplotlib\tests\test_text.py
test_text.py
Python
38,473
0.95
0.093228
0.066667
awesome-app
935
2025-04-19T13:03:51.042043
MIT
true
95410cbd9e1d16fc9504e2b787a84281
import copy\n\nfrom matplotlib.textpath import TextPath\n\n\ndef test_copy():\n tp = TextPath((0, 0), ".")\n assert copy.deepcopy(tp).vertices is not tp.vertices\n assert (copy.deepcopy(tp).vertices == tp.vertices).all()\n assert copy.copy(tp).vertices is tp.vertices\n
.venv\Lib\site-packages\matplotlib\tests\test_textpath.py
test_textpath.py
Python
271
0.85
0.1
0
python-kit
760
2024-08-12T04:05:31.369808
MIT
true
37f9aa69d931029ad4cdd72f769690e8
from contextlib import nullcontext\nimport itertools\nimport locale\nimport logging\nimport re\nfrom packaging.version import parse as parse_version\n\nimport numpy as np\nfrom numpy.testing import assert_almost_equal, assert_array_equal\nimport pytest\n\nimport matplotlib as mpl\nimport matplotlib.pyplot as plt\nimpor...
.venv\Lib\site-packages\matplotlib\tests\test_ticker.py
test_ticker.py
Python
74,759
0.75
0.117586
0.050469
node-utils
76
2024-11-12T08:02:39.673543
Apache-2.0
true
dcef099cab963044b9f0045c5969fcec
import warnings\n\nimport numpy as np\nfrom numpy.testing import assert_array_equal\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib.testing.decorators import image_comparison\nimport matplotlib.pyplot as plt\nfrom matplotlib.offsetbox import AnchoredOffsetbox, DrawingArea\nfrom matplotlib.patches import Rec...
.venv\Lib\site-packages\matplotlib\tests\test_tightlayout.py
test_tightlayout.py
Python
13,978
0.95
0.125581
0.129944
react-lib
145
2024-06-02T22:45:38.073091
Apache-2.0
true
2de2f30e54408c029bd5f7fb847365c3
import copy\n\nimport numpy as np\nfrom numpy.testing import (assert_allclose, assert_almost_equal,\n assert_array_equal, assert_array_almost_equal)\nimport pytest\n\nfrom matplotlib import scale\nimport matplotlib.pyplot as plt\nimport matplotlib.patches as mpatches\nimport matplotlib.transfo...
.venv\Lib\site-packages\matplotlib\tests\test_transforms.py
test_transforms.py
Python
48,671
0.95
0.089302
0.091694
vue-tools
477
2023-08-27T14:00:42.886153
MIT
true
4bbd32b251f3699f9ac30cedf5faa32b
import numpy as np\nfrom numpy.testing import (\n assert_array_equal, assert_array_almost_equal, assert_array_less)\nimport numpy.ma.testutils as matest\nimport pytest\n\nimport matplotlib as mpl\nimport matplotlib.pyplot as plt\nimport matplotlib.tri as mtri\nfrom matplotlib.path import Path\nfrom matplotlib.testin...
.venv\Lib\site-packages\matplotlib\tests\test_triangulation.py
test_triangulation.py
Python
55,289
0.75
0.08268
0.158598
node-utils
8
2023-08-27T22:51:32.934023
BSD-3-Clause
true
e2cfd734a904605b83302d033dc8aa18
import matplotlib._type1font as t1f\nimport os.path\nimport difflib\nimport pytest\n\n\ndef test_Type1Font():\n filename = os.path.join(os.path.dirname(__file__), 'cmr10.pfb')\n font = t1f.Type1Font(filename)\n slanted = font.transform({'slant': 1})\n condensed = font.transform({'extend': 0.5})\n with op...
.venv\Lib\site-packages\matplotlib\tests\test_type1font.py
test_type1font.py
Python
6,369
0.95
0.225
0.092857
react-lib
61
2023-07-12T04:54:04.106257
Apache-2.0
true
08259b8392c08a737d12c7ce9f5a0994
from datetime import datetime, timezone, timedelta\nimport platform\nfrom unittest.mock import MagicMock\n\nimport matplotlib.pyplot as plt\nfrom matplotlib.testing.decorators import check_figures_equal, image_comparison\nimport matplotlib.patches as mpatches\nimport matplotlib.units as munits\nfrom matplotlib.category...
.venv\Lib\site-packages\matplotlib\tests\test_units.py
test_units.py
Python
11,675
0.95
0.152975
0.078292
react-lib
18
2024-01-03T23:54:45.015822
BSD-3-Clause
true
3b0bf206b628f39e701cdf4c30a2d704
from tempfile import TemporaryFile\n\nimport numpy as np\nfrom packaging.version import parse as parse_version\nimport pytest\n\nimport matplotlib as mpl\nfrom matplotlib import dviread\nfrom matplotlib.testing import _has_tex_package\nfrom matplotlib.testing.decorators import check_figures_equal, image_comparison\nfro...
.venv\Lib\site-packages\matplotlib\tests\test_usetex.py
test_usetex.py
Python
6,405
0.95
0.13369
0.071895
python-kit
171
2024-09-14T09:14:22.140278
Apache-2.0
true
655734f1d04b272ad4641efdadfd46ea
import functools\nimport io\nimport operator\nfrom unittest import mock\n\nfrom matplotlib.backend_bases import MouseEvent\nimport matplotlib.colors as mcolors\nimport matplotlib.widgets as widgets\nimport matplotlib.pyplot as plt\nfrom matplotlib.testing.decorators import check_figures_equal, image_comparison\nfrom ma...
.venv\Lib\site-packages\matplotlib\tests\test_widgets.py
test_widgets.py
Python
66,435
0.75
0.077317
0.14107
awesome-app
369
2025-04-04T08:32:02.254367
BSD-3-Clause
true
9564785e15963bf88c1657bada457e67
from pathlib import Path\n\n\n# Check that the test directories exist.\nif not (Path(__file__).parent / 'baseline_images').exists():\n raise OSError(\n 'The baseline image directory does not exist. '\n 'This is most likely because the test data is not installed. '\n 'You may need to install matp...
.venv\Lib\site-packages\matplotlib\tests\__init__.py
__init__.py
Python
366
0.95
0.1
0.125
python-kit
962
2023-09-04T10:04:56.400817
MIT
true
6a144190764d74d04b8003d5a73f36a5
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\conftest.cpython-313.pyc
conftest.cpython-313.pyc
Other
388
0.7
0
0
react-lib
815
2023-12-26T18:25:57.688401
GPL-3.0
true
873a5855c733070111023802333aa4f7
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_afm.cpython-313.pyc
test_afm.cpython-313.pyc
Other
5,229
0.8
0
0.012195
node-utils
124
2024-09-25T00:32:58.150902
GPL-3.0
true
43bacf4ac6a363b918fc8123c137866c
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_agg.cpython-313.pyc
test_agg.cpython-313.pyc
Other
20,193
0.8
0
0.060773
vue-tools
473
2023-11-30T22:40:41.252093
MIT
true
2f25ab21e42176aed6bd14e5bb5aff10
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_agg_filter.cpython-313.pyc
test_agg_filter.cpython-313.pyc
Other
1,508
0.8
0
0
vue-tools
644
2025-04-24T18:40:50.601766
GPL-3.0
true
0202eb855df8a92d666255658ceb5f14
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_animation.cpython-313.pyc
test_animation.cpython-313.pyc
Other
28,515
0.95
0.003401
0.010753
react-lib
343
2024-10-11T02:51:56.019953
Apache-2.0
true
68713278c8836cf59f8d1c5be5a5db5f
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_api.cpython-313.pyc
test_api.cpython-313.pyc
Other
11,215
0.95
0.011494
0
react-lib
976
2024-09-13T01:22:59.291623
Apache-2.0
true
8d800b5a9dbe02926e839efc663e76dd
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_arrow_patches.cpython-313.pyc
test_arrow_patches.cpython-313.pyc
Other
9,003
0.95
0.028302
0.030612
python-kit
954
2024-08-11T22:03:06.845530
BSD-3-Clause
true
4f838e6b33c2d28b51f26ceec40128cf
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_artist.cpython-313.pyc
test_artist.cpython-313.pyc
Other
30,942
0.8
0.00813
0.039301
awesome-app
806
2023-10-11T18:03:46.257927
MIT
true
43018b29d9aa587299c6a0e99b89cfe8
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_axis.cpython-313.pyc
test_axis.cpython-313.pyc
Other
2,455
0.8
0
0
awesome-app
557
2024-10-27T16:53:14.576992
MIT
true
6161a47759bb50501be316d758e18ef8
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backends_interactive.cpython-313.pyc
test_backends_interactive.cpython-313.pyc
Other
39,702
0.95
0.006289
0.017182
node-utils
540
2025-06-24T20:41:05.336285
MIT
true
6cfe6fcedddd7ed7b153c86d846e8458
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_bases.cpython-313.pyc
test_backend_bases.cpython-313.pyc
Other
35,380
0.95
0.00274
0.029762
awesome-app
704
2024-05-21T09:24:28.646771
BSD-3-Clause
true
a5abbbaa07cd804df19fde9a2e15273e
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_cairo.cpython-313.pyc
test_backend_cairo.cpython-313.pyc
Other
2,504
0.8
0
0.064516
vue-tools
185
2023-09-23T09:38:13.933554
MIT
true
9dcfda1f3a0fa3baf9862d5d1ce5cbe2
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_gtk3.cpython-313.pyc
test_backend_gtk3.cpython-313.pyc
Other
4,774
0.95
0
0.021739
react-lib
303
2024-11-25T14:48:27.665081
MIT
true
77e8c288aad09f53d87683e97410ea65
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_inline.cpython-313.pyc
test_backend_inline.cpython-313.pyc
Other
2,599
0.95
0
0
awesome-app
385
2024-02-05T11:46:57.198266
BSD-3-Clause
true
ba13090cc585454ee3f5f56a0aa50351
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_macosx.cpython-313.pyc
test_backend_macosx.cpython-313.pyc
Other
4,256
0.7
0
0.047619
vue-tools
443
2024-10-12T07:58:28.430752
GPL-3.0
true
98c2b730d218be6c5b898ea1b163ab2b
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_nbagg.cpython-313.pyc
test_backend_nbagg.cpython-313.pyc
Other
2,276
0.95
0
0
awesome-app
778
2025-03-17T22:52:46.973587
GPL-3.0
true
051ec04077d122a27493e7975133c51d
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_pdf.cpython-313.pyc
test_backend_pdf.cpython-313.pyc
Other
26,307
0.95
0.007782
0.046025
node-utils
672
2024-04-29T03:44:39.814074
Apache-2.0
true
e3e896aaf9aedc40190a25bc2bafe44d
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_pgf.cpython-313.pyc
test_backend_pgf.cpython-313.pyc
Other
21,432
0.95
0
0.037838
node-utils
679
2024-12-16T04:48:15.329498
MIT
true
d6ac327f8fca36dbf6a683da1bfbb73f
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_ps.cpython-313.pyc
test_backend_ps.cpython-313.pyc
Other
21,351
0.8
0.011696
0.037736
vue-tools
444
2024-05-11T18:37:33.423521
GPL-3.0
true
3613651188b7c2b595b8be8638eafd80
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_qt.cpython-313.pyc
test_backend_qt.cpython-313.pyc
Other
19,515
0.95
0.005405
0.023529
awesome-app
84
2024-08-23T15:23:19.621625
MIT
true
87b6d3bf887e5295d8c719ffbfc77e06
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_registry.cpython-313.pyc
test_backend_registry.cpython-313.pyc
Other
8,839
0.95
0
0
awesome-app
139
2024-06-07T19:35:27.396488
Apache-2.0
true
93d968bac9c07e745f57b711f2ccf58a
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_svg.cpython-313.pyc
test_backend_svg.cpython-313.pyc
Other
38,044
0.8
0.028777
0.033248
vue-tools
967
2024-03-15T03:09:31.515852
GPL-3.0
true
ce91f558f6b4f685ebf692a2c6e66612
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_template.cpython-313.pyc
test_backend_template.cpython-313.pyc
Other
3,795
0.8
0
0
node-utils
683
2024-12-12T20:54:44.315460
Apache-2.0
true
6733a6ffdd829d323e4e450daabc5a79
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_tk.cpython-313.pyc
test_backend_tk.cpython-313.pyc
Other
13,885
0.95
0
0.027778
react-lib
616
2024-09-21T19:58:56.925314
MIT
true
4a423b77244338de8c2ef263c6e0a232
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_tools.cpython-313.pyc
test_backend_tools.cpython-313.pyc
Other
853
0.7
0
0
react-lib
288
2024-07-22T21:15:39.354591
BSD-3-Clause
true
4e86ac60bee462c5e5c93058ba86fcf8
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_backend_webagg.cpython-313.pyc
test_backend_webagg.cpython-313.pyc
Other
1,766
0.95
0
0
react-lib
232
2023-07-19T07:30:02.407763
GPL-3.0
true
47fecc6af80f4e9a6e5873830aab1874
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_basic.cpython-313.pyc
test_basic.cpython-313.pyc
Other
1,824
0.95
0
0
node-utils
879
2023-09-14T12:44:23.219808
MIT
true
d2d8d6a6e70dc2b0d58b792fbf0be091
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_bbox_tight.cpython-313.pyc
test_bbox_tight.cpython-313.pyc
Other
9,917
0.8
0
0.026667
python-kit
998
2025-06-10T19:55:40.913174
Apache-2.0
true
3efd9ca3d8b0aa3b57b023ad11453868
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_bezier.cpython-313.pyc
test_bezier.cpython-313.pyc
Other
672
0.8
0
0
vue-tools
228
2024-09-03T04:25:05.619199
Apache-2.0
true
62ec0723b5aa908c893d005d466f723a
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_category.cpython-313.pyc
test_category.cpython-313.pyc
Other
24,207
0.95
0.004587
0.004926
vue-tools
34
2023-10-08T03:06:52.429534
GPL-3.0
true
fbd3ab87ff03c6c2fddd40a619671cf4
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_cbook.cpython-313.pyc
test_cbook.cpython-313.pyc
Other
59,645
0.6
0
0.034623
vue-tools
512
2024-01-17T17:51:09.287899
MIT
true
9849fca6155c6cb70f25c9435b8ba6d4
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_collections.cpython-313.pyc
test_collections.cpython-313.pyc
Other
80,329
0.6
0
0.010695
awesome-app
346
2024-01-14T21:25:44.966378
MIT
true
0412cb325779b2589d20d9cb97750674
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_colorbar.cpython-313.pyc
test_colorbar.cpython-313.pyc
Other
72,735
0.75
0.020968
0.010256
awesome-app
753
2023-12-27T01:38:13.108706
MIT
true
95a0b73882308a1e48dcc1e5e35aea42
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_colors.cpython-313.pyc
test_colors.cpython-313.pyc
Other
95,892
0.6
0.012761
0.031439
vue-tools
459
2024-02-26T22:09:37.667815
MIT
true
7e60bfcd094b2c344c33eefdc4496f1b
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_compare_images.cpython-313.pyc
test_compare_images.cpython-313.pyc
Other
2,106
0.7
0.071429
0
awesome-app
642
2023-07-23T13:11:18.751159
Apache-2.0
true
f441cdc92143cebc8b5de4d85f7b6c7f
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_constrainedlayout.cpython-313.pyc
test_constrainedlayout.cpython-313.pyc
Other
40,455
0.8
0.036957
0.053269
python-kit
188
2024-06-04T22:02:28.130961
BSD-3-Clause
true
1b64bee8a079cecc2999409dad576373
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_container.cpython-313.pyc
test_container.cpython-313.pyc
Other
1,748
0.8
0
0
python-kit
808
2024-08-22T22:43:00.231713
Apache-2.0
true
1a27ff3b6c1fdd209894def54eacaa44
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_contour.cpython-313.pyc
test_contour.cpython-313.pyc
Other
52,343
0.8
0
0.011719
vue-tools
794
2024-12-02T17:42:40.612974
GPL-3.0
true
3d849b8b6a16e5424f439e30f186e0d4
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_cycles.cpython-313.pyc
test_cycles.cpython-313.pyc
Other
13,523
0.8
0
0.006098
vue-tools
228
2023-10-21T19:20:47.326633
Apache-2.0
true
41071ec11f5674f7d39aa2401c334022
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_dates.cpython-313.pyc
test_dates.cpython-313.pyc
Other
80,715
0.75
0.005008
0.024306
awesome-app
956
2025-01-10T05:52:30.381888
MIT
true
1b26fceeaf7e2cd5b9af545b006121e0
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_datetime.cpython-313.pyc
test_datetime.cpython-313.pyc
Other
57,931
0.6
0.027739
0.001468
react-lib
219
2024-01-31T19:37:36.065936
Apache-2.0
true
fdc1201a3cc9db5ced1fe754a517a42c
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_determinism.cpython-313.pyc
test_determinism.cpython-313.pyc
Other
10,752
0.95
0.04
0.008475
python-kit
513
2024-02-06T07:36:27.880344
Apache-2.0
true
b3f7e68a73c04c8f52adf4345a28c089
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_doc.cpython-313.pyc
test_doc.cpython-313.pyc
Other
1,337
0.85
0.064516
0
awesome-app
979
2023-10-07T06:39:23.908612
Apache-2.0
true
b6cb1e64e01de17b57bd61334aba1cba
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_dviread.cpython-313.pyc
test_dviread.cpython-313.pyc
Other
4,885
0.8
0
0
vue-tools
366
2024-03-23T13:21:31.267186
BSD-3-Clause
true
1e99342296f91c4fd8fe5cf6b5bcf1d6
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_figure.cpython-313.pyc
test_figure.cpython-313.pyc
Other
108,640
0.75
0.001614
0.064899
vue-tools
187
2024-11-18T10:23:26.166220
Apache-2.0
true
d1e7f94c9ce4a31e1f405bf17546ccb5
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_fontconfig_pattern.cpython-313.pyc
test_fontconfig_pattern.cpython-313.pyc
Other
2,831
0.8
0.043478
0
awesome-app
364
2024-07-12T03:17:39.837778
Apache-2.0
true
b82725e61217c7f492ce975e2949cbcf
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_font_manager.cpython-313.pyc
test_font_manager.cpython-313.pyc
Other
23,506
0.95
0.004673
0.039024
awesome-app
230
2024-09-24T22:11:25.134308
Apache-2.0
true
acb394e9a816421d328557e779d2bc43
\n\n
.venv\Lib\site-packages\matplotlib\tests\__pycache__\test_ft2font.cpython-313.pyc
test_ft2font.cpython-313.pyc
Other
46,894
0.95
0.011475
0.003497
awesome-app
763
2023-11-02T00:33:01.644026
BSD-3-Clause
true
a54f37c9b4460ec246d3b9437edcd216