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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Metadata-Version: 2.1\nName: MarkupSafe\nVersion: 3.0.2\nSummary: Safely add untrusted strings to HTML/XML markup.\nMaintainer-email: Pallets <contact@palletsprojects.com>\nLicense: Copyright 2010 Pallets\n \n Redistribution and use in source and binary forms, with or without\n modification, are pe... | .venv\Lib\site-packages\MarkupSafe-3.0.2.dist-info\METADATA | METADATA | Other | 4,067 | 0.95 | 0 | 0.040541 | react-lib | 224 | 2024-04-20T08:55:47.180647 | GPL-3.0 | false | 3de07a4580a3efb0a940645dfee90342 |
MarkupSafe-3.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\nMarkupSafe-3.0.2.dist-info/LICENSE.txt,sha256=RjHsDbX9kKVH4zaBcmTGeYIUM4FG-KyUtKV_lu6MnsQ,1503\nMarkupSafe-3.0.2.dist-info/METADATA,sha256=nhoabjupBG41j_JxPCJ3ylgrZ6Fx8oMCFbiLF9Kafqc,4067\nMarkupSafe-3.0.2.dist-info/RECORD,,\nMar... | .venv\Lib\site-packages\MarkupSafe-3.0.2.dist-info\RECORD | RECORD | Other | 1,095 | 0.7 | 0 | 0 | node-utils | 729 | 2025-06-17T17:49:49.953531 | GPL-3.0 | false | 10637be1cca71fc7cb542534ad052ca4 |
markupsafe\n | .venv\Lib\site-packages\MarkupSafe-3.0.2.dist-info\top_level.txt | top_level.txt | Other | 11 | 0.5 | 0 | 0 | python-kit | 858 | 2025-01-26T06:36:51.989501 | BSD-3-Clause | false | 5862354c9fbb5b15204672c79808e25c |
Wheel-Version: 1.0\nGenerator: setuptools (75.2.0)\nRoot-Is-Purelib: false\nTag: cp313-cp313-win_amd64\n\n | .venv\Lib\site-packages\MarkupSafe-3.0.2.dist-info\WHEEL | WHEEL | Other | 101 | 0.7 | 0 | 0 | vue-tools | 96 | 2025-02-07T08:09:08.986630 | GPL-3.0 | false | c16db81da71b13b0ef4d8a11883c1abd |
import abc\nimport base64\nimport contextlib\nfrom io import BytesIO, TextIOWrapper\nimport itertools\nimport logging\nfrom pathlib import Path\nimport shutil\nimport subprocess\nimport sys\nfrom tempfile import TemporaryDirectory\nimport uuid\nimport warnings\n\nimport numpy as np\nfrom PIL import Image\n\nimport matp... | .venv\Lib\site-packages\matplotlib\animation.py | animation.py | Python | 73,114 | 0.75 | 0.218321 | 0.156697 | node-utils | 376 | 2024-06-22T00:11:02.789192 | BSD-3-Clause | false | cc6a0783c9f7a6cc4986eed38de442c1 |
import abc\nfrom collections.abc import Callable, Collection, Iterable, Sequence, Generator\nimport contextlib\nfrom pathlib import Path\nfrom matplotlib.artist import Artist\nfrom matplotlib.backend_bases import TimerBase\nfrom matplotlib.figure import Figure\n\nfrom typing import Any\n\nsubprocess_creation_flags: int... | .venv\Lib\site-packages\matplotlib\animation.pyi | animation.pyi | Other | 6,566 | 0.85 | 0.299539 | 0.02551 | node-utils | 977 | 2024-12-22T04:39:02.464675 | MIT | false | 36274df713137653bbab853049ae6279 |
from collections import namedtuple\nimport contextlib\nfrom functools import cache, reduce, wraps\nimport inspect\nfrom inspect import Signature, Parameter\nimport logging\nfrom numbers import Number, Real\nimport operator\nimport re\nimport warnings\n\nimport numpy as np\n\nimport matplotlib as mpl\nfrom . import _api... | .venv\Lib\site-packages\matplotlib\artist.py | artist.py | Python | 63,293 | 0.75 | 0.200539 | 0.062541 | react-lib | 467 | 2025-04-17T04:34:47.126307 | GPL-3.0 | false | 028dfd988bc21957adc0e4c52250aa22 |
from .axes._base import _AxesBase\nfrom .backend_bases import RendererBase, MouseEvent\nfrom .figure import Figure, SubFigure\nfrom .path import Path\nfrom .patches import Patch\nfrom .patheffects import AbstractPathEffect\nfrom .transforms import (\n BboxBase,\n Bbox,\n Transform,\n TransformedPatchPath,\n... | .venv\Lib\site-packages\matplotlib\artist.pyi | artist.pyi | Other | 7,336 | 0.95 | 0.492462 | 0.010811 | python-kit | 378 | 2024-06-12T22:33:08.999392 | MIT | false | 9861849b7ad339104e6b0055370b7847 |
from collections.abc import Callable, Iterable, Sequence\nimport datetime\nfrom typing import Any, Literal, overload\nfrom typing_extensions import Self # < Py 3.11\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\nimport matplotlib.artist as martist\nfrom matplotlib import cbook\nfrom matplotlib.axes impor... | .venv\Lib\site-packages\matplotlib\axis.pyi | axis.pyi | Other | 10,181 | 0.95 | 0.435714 | 0.037313 | python-kit | 616 | 2023-10-12T13:33:28.610751 | GPL-3.0 | false | f4800ac1e9a27ea1cc912d85cf29ace0 |
from enum import Enum, IntEnum\nimport os\nfrom matplotlib import (\n cbook,\n transforms,\n widgets,\n _api,\n)\nfrom matplotlib.artist import Artist\nfrom matplotlib.axes import Axes\nfrom matplotlib.backend_managers import ToolManager\nfrom matplotlib.backend_tools import Cursors, ToolBase\nfrom matplotl... | .venv\Lib\site-packages\matplotlib\backend_bases.pyi | backend_bases.pyi | Other | 16,270 | 0.85 | 0.365145 | 0.013245 | react-lib | 3 | 2023-11-06T04:31:49.982226 | MIT | false | 2d42a27ab46ab8518188f5b6ca262667 |
from matplotlib import _api, backend_tools, cbook, widgets\n\n\nclass ToolEvent:\n """Event for tool manipulation (add/remove)."""\n def __init__(self, name, sender, tool, data=None):\n self.name = name\n self.sender = sender\n self.tool = tool\n self.data = data\n\n\nclass ToolTrigger... | .venv\Lib\site-packages\matplotlib\backend_managers.py | backend_managers.py | Python | 11,795 | 0.95 | 0.191214 | 0.047771 | vue-tools | 873 | 2023-11-14T02:16:45.638372 | MIT | false | 7961223900fa6749734bdda9a3bb9266 |
from matplotlib import backend_tools, widgets\nfrom matplotlib.backend_bases import FigureCanvasBase\nfrom matplotlib.figure import Figure\n\nfrom collections.abc import Callable, Iterable\nfrom typing import Any, TypeVar\n\nclass ToolEvent:\n name: str\n sender: Any\n tool: backend_tools.ToolBase\n data: A... | .venv\Lib\site-packages\matplotlib\backend_managers.pyi | backend_managers.pyi | Other | 2,253 | 0.85 | 0.359375 | 0 | node-utils | 734 | 2024-01-20T01:09:57.885708 | GPL-3.0 | false | 5543df2584a2656b953e76fbfacca4f3 |
"""\nAbstract base classes define the primitives for Tools.\nThese tools are used by `matplotlib.backend_managers.ToolManager`\n\n:class:`ToolBase`\n Simple stateless tool\n\n:class:`ToolToggleBase`\n Tool that has two states, only one Toggle tool can be\n active at any given time for the same\n `matplotlib... | .venv\Lib\site-packages\matplotlib\backend_tools.py | backend_tools.py | Python | 33,186 | 0.95 | 0.208417 | 0.051216 | react-lib | 308 | 2024-02-20T06:11:58.202649 | MIT | false | 284f40feb31473b10f65a776f8440ca1 |
import enum\nfrom matplotlib import cbook\nfrom matplotlib.axes import Axes\nfrom matplotlib.backend_bases import ToolContainerBase, FigureCanvasBase\nfrom matplotlib.backend_managers import ToolManager, ToolEvent\nfrom matplotlib.figure import Figure\nfrom matplotlib.scale import ScaleBase\n\nfrom typing import Any, c... | .venv\Lib\site-packages\matplotlib\backend_tools.pyi | backend_tools.pyi | Other | 4,122 | 0.85 | 0.512397 | 0 | node-utils | 530 | 2024-03-24T10:31:38.121114 | MIT | false | f9d515494a7fcfb191d3bb20f7a8d134 |
"""\nA module providing some utility functions regarding Bézier path manipulation.\n"""\n\nfrom functools import lru_cache\nimport math\nimport warnings\n\nimport numpy as np\n\nfrom matplotlib import _api\n\n\n# same algorithm as 3.8's math.comb\n@np.vectorize\n@lru_cache(maxsize=128)\ndef _comb(n, k):\n if k > n:\... | .venv\Lib\site-packages\matplotlib\bezier.py | bezier.py | Python | 19,049 | 0.95 | 0.122924 | 0.109244 | python-kit | 345 | 2025-06-01T22:59:40.698202 | GPL-3.0 | false | 9b0124f80b777f58cd766db0f9620969 |
from collections.abc import Callable\nfrom typing import Literal\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\nfrom .path import Path\n\nclass NonIntersectingPathException(ValueError): ...\n\ndef get_intersection(\n cx1: float,\n cy1: float,\n cos_t1: float,\n sin_t1: float,\n cx2: float,\... | .venv\Lib\site-packages\matplotlib\bezier.pyi | bezier.pyi | Other | 2,586 | 0.95 | 0.297297 | 0.014706 | awesome-app | 299 | 2023-09-09T22:23:12.029736 | MIT | false | 9340091a23fac23008619cf130b817f8 |
"""\nPlotting of string "category" data: ``plot(['d', 'f', 'a'], [1, 2, 3])`` will\nplot three points with x-axis values of 'd', 'f', 'a'.\n\nSee :doc:`/gallery/lines_bars_and_markers/categorical_variables` for an\nexample.\n\nThe module uses Matplotlib's `matplotlib.units` mechanism to convert from\nstrings to integer... | .venv\Lib\site-packages\matplotlib\category.py | category.py | Python | 7,377 | 0.95 | 0.174468 | 0.076531 | react-lib | 876 | 2023-09-04T00:56:29.872111 | BSD-3-Clause | false | 9afaaba238f10af08b4f3c2104c680cb |
"""\nA collection of utility functions and classes. Originally, many\n(but not all) were from the Python Cookbook -- hence the name cbook.\n"""\n\nimport collections\nimport collections.abc\nimport contextlib\nimport functools\nimport gzip\nimport itertools\nimport math\nimport operator\nimport os\nfrom pathlib import... | .venv\Lib\site-packages\matplotlib\cbook.py | cbook.py | Python | 80,161 | 0.75 | 0.2 | 0.095713 | python-kit | 678 | 2024-09-02T09:29:12.916708 | Apache-2.0 | false | e42dafc0f7442bff4c0127c9b3198b5e |
import collections.abc\nfrom collections.abc import Callable, Collection, Generator, Iterable, Iterator\nimport contextlib\nimport os\nfrom pathlib import Path\n\nfrom matplotlib.artist import Artist\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\nfrom typing import (\n Any,\n Generic,\n IO,\n ... | .venv\Lib\site-packages\matplotlib\cbook.pyi | cbook.pyi | Other | 6,037 | 0.95 | 0.485549 | 0.012987 | awesome-app | 345 | 2024-12-28T03:37:19.011788 | GPL-3.0 | false | ece8cdbbb2b4fe042e152f2cfa2f45b5 |
"""\nBuiltin colormaps, colormap handling utilities, and the `ScalarMappable` mixin.\n\n.. seealso::\n\n :doc:`/gallery/color/colormap_reference` for a list of builtin colormaps.\n\n :ref:`colormap-manipulation` for examples of how to make\n colormaps.\n\n :ref:`colormaps` an in-depth discussion of choosing\n colo... | .venv\Lib\site-packages\matplotlib\cm.py | cm.py | Python | 10,350 | 0.95 | 0.183871 | 0.089796 | vue-tools | 705 | 2023-08-28T01:29:51.152705 | BSD-3-Clause | false | 51cfb0c4b6e345a22eea1666cdb88c74 |
from collections.abc import Iterator, Mapping\nfrom matplotlib import colors\nfrom matplotlib.colorizer import _ScalarMappable\n\n\nclass ColormapRegistry(Mapping[str, colors.Colormap]):\n def __init__(self, cmaps: Mapping[str, colors.Colormap]) -> None: ...\n def __getitem__(self, item: str) -> colors.Colormap: ... | .venv\Lib\site-packages\matplotlib\cm.pyi | cm.pyi | Other | 939 | 0.85 | 0.416667 | 0 | vue-tools | 343 | 2025-02-05T09:20:04.843238 | GPL-3.0 | false | 458a9f2b6547094465e5f72c0d801564 |
"""\nClasses for the efficient drawing of large collections of objects that\nshare most properties, e.g., a large number of line segments or\npolygons.\n\nThe classes are not meant to be as flexible as their single element\ncounterparts (e.g., you may not be able to select all line styles) but\nthey are meant to be fas... | .venv\Lib\site-packages\matplotlib\collections.py | collections.py | Python | 96,311 | 0.75 | 0.175282 | 0.071625 | vue-tools | 285 | 2024-03-26T04:58:10.103834 | Apache-2.0 | false | f077b40569877e8890e54fb4d68d6515 |
from collections.abc import Callable, Iterable, Sequence\nfrom typing import Literal\n\nimport numpy as np\nfrom numpy.typing import ArrayLike, NDArray\n\nfrom . import colorizer, transforms\nfrom .backend_bases import MouseEvent\nfrom .artist import Artist\nfrom .colors import Normalize, Colormap\nfrom .lines import L... | .venv\Lib\site-packages\matplotlib\collections.pyi | collections.pyi | Other | 10,775 | 0.95 | 0.473282 | 0.074074 | react-lib | 586 | 2024-12-20T19:15:53.635618 | MIT | false | 9ab8f81a69b3e200964aebd7995e7a07 |
"""\nColorbars are a visualization of the mapping from scalar values to colors.\nIn Matplotlib they are drawn into a dedicated `~.axes.Axes`.\n\n.. note::\n Colorbars are typically created through `.Figure.colorbar` or its pyplot\n wrapper `.pyplot.colorbar`, which internally use `.Colorbar` together with\n `.mak... | .venv\Lib\site-packages\matplotlib\colorbar.py | colorbar.py | Python | 60,620 | 0.75 | 0.176583 | 0.109064 | awesome-app | 496 | 2023-07-26T03:04:29.502839 | MIT | false | dee127ee158b2117f6a40f733ed1a5e7 |
import matplotlib.spines as mspines\nfrom matplotlib import cm, collections, colors, contour, colorizer\nfrom matplotlib.axes import Axes\nfrom matplotlib.axis import Axis\nfrom matplotlib.backend_bases import RendererBase\nfrom matplotlib.patches import Patch\nfrom matplotlib.ticker import Locator, Formatter\nfrom mat... | .venv\Lib\site-packages\matplotlib\colorbar.pyi | colorbar.pyi | Other | 4,966 | 0.85 | 0.223022 | 0.06015 | node-utils | 93 | 2024-06-21T18:07:46.402535 | BSD-3-Clause | false | 8e4dffe85b9c2cc751a15956650c2234 |
"""\nThe Colorizer class which handles the data to color pipeline via a\nnormalization and a colormap.\n\n.. admonition:: Provisional status of colorizer\n\n The ``colorizer`` module and classes in this file are considered\n provisional and may change at any time without a deprecation period.\n\n.. seealso::\n\n ... | .venv\Lib\site-packages\matplotlib\colorizer.py | colorizer.py | Python | 25,180 | 0.95 | 0.203414 | 0.085763 | node-utils | 136 | 2024-06-02T22:15:00.209660 | GPL-3.0 | false | 6caa4186a52c2c10c229edac5b3bbdbc |
from matplotlib import cbook, colorbar, colors, artist\n\nfrom typing import overload\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\n\nclass Colorizer:\n colorbar: colorbar.Colorbar | None\n callbacks: cbook.CallbackRegistry\n def __init__(\n self,\n cmap: str | colors.Colormap | None... | .venv\Lib\site-packages\matplotlib\colorizer.pyi | colorizer.pyi | Other | 3,308 | 0.85 | 0.411765 | 0.032258 | react-lib | 218 | 2025-02-06T14:41:33.616539 | Apache-2.0 | false | 14e349fcde012ea9769dacb609909a11 |
from collections.abc import Callable, Iterable, Iterator, Mapping, Sequence\nfrom matplotlib import cbook, scale\nimport re\n\nfrom typing import Any, Literal, overload\nfrom .typing import ColorType\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\n# Explicitly export colors dictionaries which are imported ... | .venv\Lib\site-packages\matplotlib\colors.pyi | colors.pyi | Other | 14,908 | 0.95 | 0.342984 | 0.026316 | vue-tools | 493 | 2023-10-27T04:08:42.464036 | MIT | false | 2528d94ed8cb029537885828e8293b59 |
from matplotlib import cbook\nfrom matplotlib.artist import Artist\n\n\nclass Container(tuple):\n """\n Base class for containers.\n\n Containers are classes that collect semantically related Artists such as\n the bars of a bar plot.\n """\n\n def __repr__(self):\n return f"<{type(self).__name_... | .venv\Lib\site-packages\matplotlib\container.py | container.py | Python | 4,565 | 0.85 | 0.205674 | 0.009174 | vue-tools | 946 | 2023-11-01T01:20:34.211305 | Apache-2.0 | false | 6c72142d4e60663fd994773708ff37a1 |
from matplotlib.artist import Artist\nfrom matplotlib.lines import Line2D\nfrom matplotlib.collections import LineCollection\nfrom matplotlib.patches import Rectangle\n\nfrom collections.abc import Callable\nfrom typing import Any, Literal\nfrom numpy.typing import ArrayLike\n\nclass Container(tuple):\n def __new__(... | .venv\Lib\site-packages\matplotlib\container.pyi | container.pyi | Other | 1,805 | 0.85 | 0.285714 | 0.078431 | node-utils | 160 | 2023-11-21T13:04:42.995167 | GPL-3.0 | false | 75a98dfd03f7dd71b496e2079486fb92 |
"""\nClasses to support contour plotting and labelling for the Axes class.\n"""\n\nfrom contextlib import ExitStack\nimport functools\nimport math\nfrom numbers import Integral\n\nimport numpy as np\nfrom numpy import ma\n\nimport matplotlib as mpl\nfrom matplotlib import _api, _docstring\nfrom matplotlib.backend_bases... | .venv\Lib\site-packages\matplotlib\contour.py | contour.py | Python | 68,391 | 0.75 | 0.166863 | 0.080612 | awesome-app | 503 | 2023-11-03T14:35:16.115464 | GPL-3.0 | false | 4b032bd16a087892ae467250eaff6ff0 |
import matplotlib.cm as cm\nfrom matplotlib.artist import Artist\nfrom matplotlib.axes import Axes\nfrom matplotlib.collections import Collection, PathCollection\nfrom matplotlib.colorizer import Colorizer, ColorizingArtist\nfrom matplotlib.colors import Colormap, Normalize\nfrom matplotlib.path import Path\nfrom matpl... | .venv\Lib\site-packages\matplotlib\contour.pyi | contour.pyi | Other | 5,300 | 0.85 | 0.142857 | 0.022727 | awesome-app | 138 | 2025-03-10T10:29:58.184797 | MIT | false | 6b9e45c2a504ede33949b06a95d6e9c7 |
"""\nMatplotlib provides sophisticated date plotting capabilities, standing on the\nshoulders of python :mod:`datetime` and the add-on module dateutil_.\n\nBy default, Matplotlib uses the units machinery described in\n`~matplotlib.units` to convert `datetime.datetime`, and `numpy.datetime64`\nobjects when plotted on an... | .venv\Lib\site-packages\matplotlib\dates.py | dates.py | Python | 66,306 | 0.75 | 0.160326 | 0.098798 | awesome-app | 349 | 2023-09-23T07:40:55.350920 | GPL-3.0 | false | fa5843087c7014e0fb600211264a43d6 |
"""\nA module for reading dvi files output by TeX. Several limitations make\nthis not (currently) useful as a general-purpose dvi preprocessor, but\nit is currently used by the pdf backend for processing usetex text.\n\nInterface::\n\n with Dvi(filename, 72) as dvi:\n # iterate over pages:\n for page in dvi:... | .venv\Lib\site-packages\matplotlib\dviread.py | dviread.py | Python | 42,590 | 0.95 | 0.206321 | 0.105691 | node-utils | 317 | 2024-07-31T23:15:30.371934 | BSD-3-Clause | false | 6e779d21801a1c1d74984e14848af6b7 |
from pathlib import Path\nimport io\nimport os\nfrom enum import Enum\nfrom collections.abc import Generator\n\nfrom typing import NamedTuple\nfrom typing_extensions import Self # < Py 3.11\n\nclass _dvistate(Enum):\n pre = ...\n outer = ...\n inpage = ...\n post_post = ...\n finale = ...\n\nclass Page(... | .venv\Lib\site-packages\matplotlib\dviread.pyi | dviread.pyi | Other | 2,139 | 0.95 | 0.314607 | 0 | react-lib | 157 | 2023-10-08T05:43:53.871640 | Apache-2.0 | false | 4ffafc63e653fac19bffa88aa00775cc |
from collections.abc import Callable, Hashable, Iterable, Sequence\nimport os\nfrom typing import Any, IO, Literal, TypeVar, overload\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\nfrom matplotlib.artist import Artist\nfrom matplotlib.axes import Axes\nfrom matplotlib.backend_bases import (\n FigureCan... | .venv\Lib\site-packages\matplotlib\figure.pyi | figure.pyi | Other | 14,738 | 0.95 | 0.264775 | 0.05569 | python-kit | 514 | 2023-09-03T20:50:05.523938 | Apache-2.0 | false | 7b20173b57608f2c823659ac01163588 |
"""\nA module for finding, managing, and using fonts across platforms.\n\nThis module provides a single `FontManager` instance, ``fontManager``, that can\nbe shared across backends and platforms. The `findfont`\nfunction returns the best TrueType (TTF) font file in the local or\nsystem font path that matches the speci... | .venv\Lib\site-packages\matplotlib\font_manager.py | font_manager.py | Python | 57,651 | 0.75 | 0.150152 | 0.09065 | react-lib | 260 | 2023-08-22T13:08:06.239479 | BSD-3-Clause | false | 1c61d3c9cceac69d43dba9dd6c9e6793 |
from dataclasses import dataclass\nimport os\n\nfrom matplotlib._afm import AFM\nfrom matplotlib import ft2font\n\nfrom pathlib import Path\n\nfrom collections.abc import Iterable\nfrom typing import Any, Literal\n\nfont_scalings: dict[str | None, float]\nstretch_dict: dict[str, int]\nweight_dict: dict[str, int]\nfont_... | .venv\Lib\site-packages\matplotlib\font_manager.pyi | font_manager.pyi | Other | 5,052 | 0.95 | 0.404412 | 0.008065 | awesome-app | 866 | 2024-08-15T03:31:40.818704 | BSD-3-Clause | false | ab315a5405517e2130d80b23184a41a8 |
from enum import Enum, Flag\nimport sys\nfrom typing import BinaryIO, Literal, TypedDict, final, overload, cast\nfrom typing_extensions import Buffer # < Py 3.12\n\nimport numpy as np\nfrom numpy.typing import NDArray\n\n__freetype_build_type__: str\n__freetype_version__: str\n\nclass FaceFlags(Flag):\n SCALABLE = ... | .venv\Lib\site-packages\matplotlib\ft2font.pyi | ft2font.pyi | Other | 9,253 | 0.95 | 0.262821 | 0.027027 | awesome-app | 233 | 2025-03-14T05:23:15.462943 | GPL-3.0 | false | 0f95bb3b1ece8effda8141c73d324f49 |
r"""\n:mod:`~matplotlib.gridspec` contains classes that help to layout multiple\n`~.axes.Axes` in a grid-like pattern within a figure.\n\nThe `GridSpec` specifies the overall grid structure. Individual cells within\nthe grid are referenced by `SubplotSpec`\s.\n\nOften, users need not access this module directly, and ca... | .venv\Lib\site-packages\matplotlib\gridspec.py | gridspec.py | Python | 29,786 | 0.95 | 0.181472 | 0.037202 | python-kit | 596 | 2024-11-09T07:34:00.909642 | BSD-3-Clause | false | b83a8280bd10ac6f968b9e92c1ea2a54 |
from typing import Any, Literal, overload\n\nfrom numpy.typing import ArrayLike\nimport numpy as np\n\nfrom matplotlib.axes import Axes\nfrom matplotlib.backend_bases import RendererBase\nfrom matplotlib.figure import Figure\nfrom matplotlib.transforms import Bbox\n\nclass GridSpecBase:\n def __init__(\n self... | .venv\Lib\site-packages\matplotlib\gridspec.pyi | gridspec.pyi | Other | 5,099 | 0.85 | 0.28125 | 0.013072 | vue-tools | 11 | 2025-03-03T01:03:44.078448 | GPL-3.0 | false | f25ddc4740087f72e4ca369264bc4eef |
"""Contains classes for generating hatch patterns."""\n\nimport numpy as np\n\nfrom matplotlib import _api\nfrom matplotlib.path import Path\n\n\nclass HatchPatternBase:\n """The base class for a hatch pattern."""\n pass\n\n\nclass HorizontalHatch(HatchPatternBase):\n def __init__(self, hatch, density):\n ... | .venv\Lib\site-packages\matplotlib\hatch.py | hatch.py | Python | 7,453 | 0.95 | 0.204444 | 0.005525 | vue-tools | 3 | 2024-09-11T12:06:03.074614 | GPL-3.0 | false | 9de3eb4188f6bda44032648f8b8c3363 |
from matplotlib.path import Path\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\nclass HatchPatternBase: ...\n\nclass HorizontalHatch(HatchPatternBase):\n num_lines: int\n num_vertices: int\n def __init__(self, hatch: str, density: int) -> None: ...\n def set_vertices_and_codes(self, vertices: ... | .venv\Lib\site-packages\matplotlib\hatch.pyi | hatch.pyi | Other | 2,098 | 0.85 | 0.397059 | 0 | vue-tools | 919 | 2023-09-03T17:47:36.891398 | Apache-2.0 | false | 161f276bc98a0598a2bc5af50b805674 |
"""\nThe image module supports basic image loading, rescaling and display\noperations.\n"""\n\nimport math\nimport os\nimport logging\nfrom pathlib import Path\nimport warnings\n\nimport numpy as np\nimport PIL.Image\nimport PIL.PngImagePlugin\n\nimport matplotlib as mpl\nfrom matplotlib import _api, cbook\n# For clari... | .venv\Lib\site-packages\matplotlib\image.py | image.py | Python | 69,765 | 0.75 | 0.173572 | 0.085038 | node-utils | 644 | 2024-06-07T11:12:12.744272 | MIT | false | e004408721bd7a998333769a94be8e34 |
from collections.abc import Callable, Sequence\nimport os\nimport pathlib\nfrom typing import Any, BinaryIO, Literal\n\nimport numpy as np\nfrom numpy.typing import ArrayLike, NDArray\nimport PIL.Image\n\nfrom matplotlib.axes import Axes\nfrom matplotlib import colorizer\nfrom matplotlib.backend_bases import RendererBa... | .venv\Lib\site-packages\matplotlib\image.pyi | image.pyi | Other | 7,066 | 0.95 | 0.227907 | 0.09 | react-lib | 444 | 2024-11-17T08:11:44.812912 | Apache-2.0 | false | ae08b1b589efe9e3d4ee9de99f302fe9 |
"""\nThe inset module defines the InsetIndicator class, which draws the rectangle and\nconnectors required for `.Axes.indicate_inset` and `.Axes.indicate_inset_zoom`.\n"""\n\nfrom . import _api, artist, transforms\nfrom matplotlib.patches import ConnectionPatch, PathPatch, Rectangle\nfrom matplotlib.path import Path\n\... | .venv\Lib\site-packages\matplotlib\inset.py | inset.py | Python | 10,154 | 0.95 | 0.144981 | 0.113636 | react-lib | 994 | 2024-04-16T02:06:04.481000 | Apache-2.0 | false | b348d4fcddffacf15e7426042974ca31 |
from . import artist\nfrom .axes import Axes\nfrom .backend_bases import RendererBase\nfrom .patches import ConnectionPatch, Rectangle\n\nfrom .typing import ColorType, LineStyleType\n\nclass InsetIndicator(artist.Artist):\n def __init__(\n self,\n bounds: tuple[float, float, float, float] | None = ...... | .venv\Lib\site-packages\matplotlib\inset.pyi | inset.pyi | Other | 968 | 0.85 | 0.4 | 0.043478 | python-kit | 666 | 2023-10-12T10:11:33.537836 | GPL-3.0 | false | 727e02d2b4441ecbcb511a1e57eb374e |
"""\nClasses to layout elements in a `.Figure`.\n\nFigures have a ``layout_engine`` property that holds a subclass of\n`~.LayoutEngine` defined here (or *None* for no layout). At draw time\n``figure.get_layout_engine().execute()`` is called, the goal of which is\nusually to rearrange Axes on the figure to produce a pl... | .venv\Lib\site-packages\matplotlib\layout_engine.py | layout_engine.py | Python | 11,433 | 0.95 | 0.148867 | 0.023077 | vue-tools | 406 | 2025-05-13T04:08:16.540362 | Apache-2.0 | false | 7afee1126a72b86f757fb09ecb3debd8 |
from matplotlib.figure import Figure\n\nfrom typing import Any\n\nclass LayoutEngine:\n def __init__(self, **kwargs: Any) -> None: ...\n def set(self) -> None: ...\n @property\n def colorbar_gridspec(self) -> bool: ...\n @property\n def adjust_compatible(self) -> bool: ...\n def get(self) -> dict[s... | .venv\Lib\site-packages\matplotlib\layout_engine.pyi | layout_engine.pyi | Other | 1,788 | 0.85 | 0.290323 | 0.105263 | awesome-app | 791 | 2024-04-30T17:59:38.523161 | MIT | false | 1208632d22cb43a97ba5bd820a049a66 |
"""\nThe legend module defines the Legend class, which is responsible for\ndrawing legends associated with Axes and/or figures.\n\n.. important::\n\n It is unlikely that you would ever create a Legend instance manually.\n Most users would normally create a legend via the `~.Axes.legend`\n function. For more de... | .venv\Lib\site-packages\matplotlib\legend.py | legend.py | Python | 55,311 | 0.75 | 0.152555 | 0.08348 | awesome-app | 117 | 2024-05-12T14:20:55.639413 | BSD-3-Clause | false | b92a0cf92576803deae4aff1b26de65d |
from matplotlib.axes import Axes\nfrom matplotlib.artist import Artist\nfrom matplotlib.backend_bases import MouseEvent\nfrom matplotlib.figure import Figure\nfrom matplotlib.font_manager import FontProperties\nfrom matplotlib.legend_handler import HandlerBase\nfrom matplotlib.lines import Line2D\nfrom matplotlib.offse... | .venv\Lib\site-packages\matplotlib\legend.pyi | legend.pyi | Other | 5,364 | 0.85 | 0.190789 | 0.006757 | node-utils | 695 | 2025-03-02T08:12:13.193556 | MIT | false | 7047eb40201fa511bff967ff3dcf4ab9 |
"""\nDefault legend handlers.\n\n.. important::\n\n This is a low-level legend API, which most end users do not need.\n\n We recommend that you are familiar with the :ref:`legend guide\n <legend_guide>` before reading this documentation.\n\nLegend handlers are expected to be a callable object with a following\... | .venv\Lib\site-packages\matplotlib\legend_handler.py | legend_handler.py | Python | 29,931 | 0.95 | 0.163592 | 0.064516 | node-utils | 719 | 2024-01-03T19:07:19.330953 | Apache-2.0 | false | aa30c16968d30523888c8d5d48625fb3 |
from collections.abc import Callable, Sequence\nfrom matplotlib.artist import Artist\nfrom matplotlib.legend import Legend\nfrom matplotlib.offsetbox import OffsetBox\nfrom matplotlib.transforms import Transform\n\nfrom typing import TypeVar\n\nfrom numpy.typing import ArrayLike\n\ndef update_from_first_child(tgt: Arti... | .venv\Lib\site-packages\matplotlib\legend_handler.pyi | legend_handler.pyi | Other | 7,655 | 0.85 | 0.170068 | 0.014545 | react-lib | 941 | 2023-08-15T09:56:32.894611 | GPL-3.0 | false | 1faf05ee5f07d5c5d1016596c4fc95d7 |
"""\n2D lines with support for a variety of line styles, markers, colors, etc.\n"""\n\nimport copy\n\nfrom numbers import Integral, Number, Real\nimport logging\n\nimport numpy as np\n\nimport matplotlib as mpl\nfrom . import _api, cbook, colors as mcolors, _docstring\nfrom .artist import Artist, allow_rasterization\nf... | .venv\Lib\site-packages\matplotlib\lines.py | lines.py | Python | 57,920 | 0.75 | 0.155814 | 0.052851 | node-utils | 538 | 2025-02-13T09:32:58.910618 | MIT | false | e32e2304e54e618b06d592ba3578d822 |
from .artist import Artist\nfrom .axes import Axes\nfrom .backend_bases import MouseEvent, FigureCanvasBase\nfrom .path import Path\nfrom .transforms import Bbox\n\nfrom collections.abc import Callable, Sequence\nfrom typing import Any, Literal, overload\nfrom .typing import (\n ColorType,\n DrawStyleType,\n F... | .venv\Lib\site-packages\matplotlib\lines.pyi | lines.pyi | Other | 6,081 | 0.85 | 0.464052 | 0.020408 | node-utils | 613 | 2023-08-21T17:14:19.974260 | BSD-3-Clause | false | dea06c319496e32ab8cc5c613ccef3b3 |
r"""\nFunctions to handle markers; used by the marker functionality of\n`~matplotlib.axes.Axes.plot`, `~matplotlib.axes.Axes.scatter`, and\n`~matplotlib.axes.Axes.errorbar`.\n\nAll possible markers are defined here:\n\n============================== ====== =========================================\nmarker ... | .venv\Lib\site-packages\matplotlib\markers.py | markers.py | Python | 33,708 | 0.95 | 0.118943 | 0.037613 | python-kit | 778 | 2023-08-05T20:14:43.962515 | GPL-3.0 | false | 356bd4872835539063b2ea93207350d9 |
from typing import Literal\n\nfrom .path import Path\nfrom .transforms import Affine2D, Transform\n\nfrom numpy.typing import ArrayLike\nfrom .typing import CapStyleType, FillStyleType, JoinStyleType\n\nTICKLEFT: int\nTICKRIGHT: int\nTICKUP: int\nTICKDOWN: int\nCARETLEFT: int\nCARETRIGHT: int\nCARETUP: int\nCARETDOWN: ... | .venv\Lib\site-packages\matplotlib\markers.pyi | markers.pyi | Other | 1,678 | 0.85 | 0.333333 | 0 | node-utils | 520 | 2025-05-20T02:02:21.062713 | GPL-3.0 | false | 34dd16014dd29849db073ab50c63819d |
r"""\nA module for parsing a subset of the TeX math syntax and rendering it to a\nMatplotlib backend.\n\nFor a tutorial of its usage, see :ref:`mathtext`. This\ndocument is primarily concerned with implementation details.\n\nThe module uses pyparsing_ to parse the TeX expression.\n\n.. _pyparsing: https://pypi.org/pro... | .venv\Lib\site-packages\matplotlib\mathtext.py | mathtext.py | Python | 5,104 | 0.95 | 0.121429 | 0.070175 | node-utils | 103 | 2024-04-08T10:28:56.692566 | GPL-3.0 | false | 8735713e478304d126eef159b5b3da2d |
import os\nfrom typing import Generic, IO, Literal, TypeVar, overload\n\nfrom matplotlib.font_manager import FontProperties\nfrom matplotlib.typing import ColorType\n\n# Re-exported API from _mathtext.\nfrom ._mathtext import (\n RasterParse as RasterParse,\n VectorParse as VectorParse,\n get_unicode_index as ... | .venv\Lib\site-packages\matplotlib\mathtext.pyi | mathtext.pyi | Other | 1,045 | 0.95 | 0.151515 | 0.071429 | react-lib | 540 | 2024-12-27T19:56:20.501373 | BSD-3-Clause | false | c36b77f9de26ca5113b146907e773bc5 |
"""\nNumerical Python functions written for compatibility with MATLAB\ncommands with the same names. Most numerical Python functions can be found in\nthe `NumPy`_ and `SciPy`_ libraries. What remains here is code for performing\nspectral computations and kernel density estimations.\n\n.. _NumPy: https://numpy.org\n.. _... | .venv\Lib\site-packages\matplotlib\mlab.py | mlab.py | Python | 30,210 | 0.95 | 0.135816 | 0.064033 | vue-tools | 581 | 2025-02-17T03:29:11.769432 | GPL-3.0 | false | dcf77844336514e4a9555daacb33c16b |
from collections.abc import Callable\nimport functools\nfrom typing import Literal\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\ndef window_hanning(x: ArrayLike) -> ArrayLike: ...\ndef window_none(x: ArrayLike) -> ArrayLike: ...\ndef detrend(\n x: ArrayLike,\n key: Literal["default", "constant", "m... | .venv\Lib\site-packages\matplotlib\mlab.pyi | mlab.pyi | Other | 3,583 | 0.85 | 0.17 | 0 | python-kit | 833 | 2023-09-21T03:26:54.463466 | MIT | false | aca3c8ece134214bcedd4f85a9aa3545 |
r"""\nContainer classes for `.Artist`\s.\n\n`OffsetBox`\n The base of all container artists defined in this module.\n\n`AnchoredOffsetbox`, `AnchoredText`\n Anchor and align an arbitrary `.Artist` or a text relative to the parent\n axes or a specific anchor point.\n\n`DrawingArea`\n A container with fixed w... | .venv\Lib\site-packages\matplotlib\offsetbox.py | offsetbox.py | Python | 54,488 | 0.75 | 0.16863 | 0.051128 | awesome-app | 384 | 2024-03-17T11:42:02.709803 | MIT | false | 77057f2506d4d20d4a421efb1df0e51d |
import matplotlib.artist as martist\nfrom matplotlib.backend_bases import RendererBase, Event, FigureCanvasBase\nfrom matplotlib.colors import Colormap, Normalize\nimport matplotlib.text as mtext\nfrom matplotlib.figure import Figure, SubFigure\nfrom matplotlib.font_manager import FontProperties\nfrom matplotlib.image ... | .venv\Lib\site-packages\matplotlib\offsetbox.pyi | offsetbox.pyi | Other | 9,909 | 0.95 | 0.312081 | 0.047445 | awesome-app | 347 | 2024-11-21T23:18:49.125329 | MIT | false | 2cf93f2e69cd7edfe3145b1752c96e9f |
from . import artist\nfrom .axes import Axes\nfrom .backend_bases import RendererBase, MouseEvent\nfrom .path import Path\nfrom .transforms import Transform, Bbox\n\nfrom typing import Any, Literal, overload\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\nfrom .typing import ColorType, LineStyleType, CapStyl... | .venv\Lib\site-packages\matplotlib\patches.pyi | patches.pyi | Other | 22,649 | 0.95 | 0.317041 | 0.039017 | vue-tools | 321 | 2025-07-08T09:15:37.178139 | MIT | false | 2c50ae3bf19cbd2341c61383acf0bcc1 |
r"""\nA module for dealing with the polylines used throughout Matplotlib.\n\nThe primary class for polyline handling in Matplotlib is `Path`. Almost all\nvector drawing makes use of `Path`\s somewhere in the drawing pipeline.\n\nWhilst a `Path` instance itself cannot be drawn, some `.Artist` subclasses,\nsuch as `.Pat... | .venv\Lib\site-packages\matplotlib\path.py | path.py | Python | 42,717 | 0.95 | 0.14991 | 0.038136 | vue-tools | 54 | 2024-02-21T11:05:46.946666 | MIT | false | 26c909dc38bbe4178c64b3f97f8f6017 |
from .bezier import BezierSegment\nfrom .transforms import Affine2D, Transform, Bbox\nfrom collections.abc import Generator, Iterable, Sequence\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\n\nfrom typing import Any, overload\n\nclass Path:\n code_type: type[np.uint8]\n STOP: np.uint8\n MOVETO: np.... | .venv\Lib\site-packages\matplotlib\path.pyi | path.pyi | Other | 4,777 | 0.85 | 0.292857 | 0.007463 | vue-tools | 542 | 2024-10-09T21:55:28.111521 | GPL-3.0 | false | b1c3e9c7279394b6f72902eb2f0b885c |
"""\nDefines classes for path effects. The path effects are supported in `.Text`,\n`.Line2D` and `.Patch`.\n\n.. seealso::\n :ref:`patheffects_guide`\n"""\n\nfrom matplotlib.backend_bases import RendererBase\nfrom matplotlib import colors as mcolors\nfrom matplotlib import patches as mpatches\nfrom matplotlib import ... | .venv\Lib\site-packages\matplotlib\patheffects.py | patheffects.py | Python | 18,387 | 0.95 | 0.142857 | 0.12439 | node-utils | 449 | 2025-04-14T17:45:25.866243 | BSD-3-Clause | false | f8b443ee3de8fd8e6b516ba5a9b21770 |
from collections.abc import Iterable, Sequence\nfrom typing import Any\n\nfrom matplotlib.backend_bases import RendererBase, GraphicsContextBase\nfrom matplotlib.path import Path\nfrom matplotlib.patches import Patch\nfrom matplotlib.transforms import Transform\n\nfrom matplotlib.typing import ColorType\n\nclass Abstra... | .venv\Lib\site-packages\matplotlib\patheffects.pyi | patheffects.pyi | Other | 3,664 | 0.95 | 0.273585 | 0.129032 | vue-tools | 588 | 2024-01-20T11:30:38.010248 | BSD-3-Clause | false | 356c78e4c45aaf4e05ed9dd7a2ce3ba2 |
"""\n`pylab` is a historic interface and its use is strongly discouraged. The equivalent\nreplacement is `matplotlib.pyplot`. See :ref:`api_interfaces` for a full overview\nof Matplotlib interfaces.\n\n`pylab` was designed to support a MATLAB-like way of working with all plotting related\nfunctions directly available ... | .venv\Lib\site-packages\matplotlib\pylab.py | pylab.py | Python | 2,369 | 0.95 | 0.029851 | 0.137255 | awesome-app | 94 | 2025-01-17T04:17:57.564565 | GPL-3.0 | false | ac533bb6ef2ce6c06878cc64d656da56 |
"""\nSupport for plotting vector fields.\n\nPresently this contains Quiver and Barb. Quiver plots an arrow in the\ndirection of the vector, with the size of the arrow related to the\nmagnitude of the vector.\n\nBarbs are like quiver in that they point along a vector, but\nthe magnitude of the vector is given schematica... | .venv\Lib\site-packages\matplotlib\quiver.py | quiver.py | Python | 48,675 | 0.95 | 0.122964 | 0.111002 | react-lib | 294 | 2024-10-04T04:50:52.325842 | BSD-3-Clause | false | 99f863b767c49a7488f4ffa9635fee65 |
import matplotlib.artist as martist\nimport matplotlib.collections as mcollections\nfrom matplotlib.axes import Axes\nfrom matplotlib.figure import Figure, SubFigure\nfrom matplotlib.text import Text\nfrom matplotlib.transforms import Transform, Bbox\n\n\nimport numpy as np\nfrom numpy.typing import ArrayLike\nfrom col... | .venv\Lib\site-packages\matplotlib\quiver.pyi | quiver.pyi | Other | 5,640 | 0.85 | 0.076087 | 0.056497 | react-lib | 586 | 2024-12-02T07:37:57.706226 | MIT | false | bdc03b8e57e02e67cad9908d7b698b94 |
"""\nThe rcsetup module contains the validation code for customization using\nMatplotlib's rc settings.\n\nEach rc setting is assigned a function used to validate any attempted changes\nto that setting. The validation functions are defined in the rcsetup module,\nand are used to construct the rcParams global object wh... | .venv\Lib\site-packages\matplotlib\rcsetup.py | rcsetup.py | Python | 51,606 | 0.75 | 0.157549 | 0.113715 | python-kit | 566 | 2025-01-16T04:18:44.983331 | GPL-3.0 | false | 2c312b335f7e0daa1d29c68e068bae8f |
from cycler import Cycler\n\nfrom collections.abc import Callable, Iterable\nfrom typing import Any, Literal, TypeVar\nfrom matplotlib.typing import ColorType, LineStyleType, MarkEveryType\n\ninteractive_bk: list[str]\nnon_interactive_bk: list[str]\nall_backends: list[str]\n\n_T = TypeVar("_T")\n\ndef _listify_validato... | .venv\Lib\site-packages\matplotlib\rcsetup.pyi | rcsetup.pyi | Other | 4,337 | 0.95 | 0.301887 | 0.020408 | vue-tools | 691 | 2024-06-10T04:09:51.964870 | GPL-3.0 | false | ce412f8750fe7cc81107a2a0dbf82c0a |
"""\nModule for creating Sankey diagrams using Matplotlib.\n"""\n\nimport logging\nfrom types import SimpleNamespace\n\nimport numpy as np\n\nimport matplotlib as mpl\nfrom matplotlib.path import Path\nfrom matplotlib.patches import PathPatch\nfrom matplotlib.transforms import Affine2D\nfrom matplotlib import _docstrin... | .venv\Lib\site-packages\matplotlib\sankey.py | sankey.py | Python | 36,151 | 0.95 | 0.14742 | 0.096904 | node-utils | 991 | 2024-02-01T03:57:11.175691 | MIT | false | 4d47a752cbb627c210ad24389f933abe |
from matplotlib.axes import Axes\n\nfrom collections.abc import Callable, Iterable\nfrom typing import Any\nfrom typing_extensions import Self # < Py 3.11\n\nimport numpy as np\n\n__license__: str\n__credits__: list[str]\n__author__: str\n__version__: str\n\nRIGHT: int\nUP: int\nDOWN: int\n\n# TODO typing units\nclass... | .venv\Lib\site-packages\matplotlib\sankey.pyi | sankey.pyi | Other | 1,451 | 0.95 | 0.065574 | 0.053571 | react-lib | 717 | 2025-03-30T14:41:27.360641 | Apache-2.0 | false | 6ec9d94ba2461b18d31738f8b8b55473 |
"""\nScales define the distribution of data values on an axis, e.g. a log scaling.\n\nThe mapping is implemented through `.Transform` subclasses.\n\nThe following scales are built-in:\n\n.. _builtin_scales:\n\n============= ===================== ================================ =================================\nName ... | .venv\Lib\site-packages\matplotlib\scale.py | scale.py | Python | 26,924 | 0.95 | 0.205997 | 0.039024 | vue-tools | 940 | 2024-09-19T07:18:44.858364 | MIT | false | 19ab433a9b933a8beb62e41177445568 |
from matplotlib.axis import Axis\nfrom matplotlib.transforms import Transform\n\nfrom collections.abc import Callable, Iterable\nfrom typing import Literal\nfrom numpy.typing import ArrayLike\n\nclass ScaleBase:\n def __init__(self, axis: Axis | None) -> None: ...\n def get_transform(self) -> Transform: ...\n ... | .venv\Lib\site-packages\matplotlib\scale.pyi | scale.pyi | Other | 5,057 | 0.85 | 0.331461 | 0.031447 | node-utils | 739 | 2023-09-18T01:16:50.267131 | GPL-3.0 | false | 75531b840cf4f29266a4c126a9967b69 |
from collections.abc import MutableMapping\nimport functools\n\nimport numpy as np\n\nimport matplotlib as mpl\nfrom matplotlib import _api, _docstring\nfrom matplotlib.artist import allow_rasterization\nimport matplotlib.transforms as mtransforms\nimport matplotlib.patches as mpatches\nimport matplotlib.path as mpath\... | .venv\Lib\site-packages\matplotlib\spines.py | spines.py | Python | 21,643 | 0.95 | 0.181208 | 0.065347 | python-kit | 92 | 2023-07-15T18:50:45.742644 | MIT | false | b9a8cdb0ba337165188062347b2c96dd |
from collections.abc import Callable, Iterator, MutableMapping\nfrom typing import Literal, TypeVar, overload\n\nimport matplotlib.patches as mpatches\nfrom matplotlib.axes import Axes\nfrom matplotlib.axis import Axis\nfrom matplotlib.path import Path\nfrom matplotlib.transforms import Transform\nfrom matplotlib.typin... | .venv\Lib\site-packages\matplotlib\spines.pyi | spines.pyi | Other | 2,951 | 0.85 | 0.39759 | 0.025641 | node-utils | 824 | 2025-03-17T22:35:11.672835 | MIT | false | b7da98f445ffa1cbdac4abf6d8524b4a |
"""\nStacked area plot for 1D arrays inspired by Douglas Y'barbo's stackoverflow\nanswer:\nhttps://stackoverflow.com/q/2225995/\n\n(https://stackoverflow.com/users/66549/doug)\n"""\n\nimport itertools\n\nimport numpy as np\n\nfrom matplotlib import _api\n\n__all__ = ['stackplot']\n\n\ndef stackplot(axes, x, *args,\n ... | .venv\Lib\site-packages\matplotlib\stackplot.py | stackplot.py | Python | 4,997 | 0.95 | 0.081633 | 0.076923 | react-lib | 319 | 2024-03-25T15:12:42.280263 | GPL-3.0 | false | 80a2d3daafa95d79b428b4a80f766ca3 |
from matplotlib.axes import Axes\nfrom matplotlib.collections import PolyCollection\n\nfrom collections.abc import Iterable\nfrom typing import Literal\nfrom numpy.typing import ArrayLike\nfrom matplotlib.typing import ColorType\n\ndef stackplot(\n axes: Axes,\n x: ArrayLike,\n *args: ArrayLike,\n labels: I... | .venv\Lib\site-packages\matplotlib\stackplot.pyi | stackplot.pyi | Other | 561 | 0.85 | 0.05 | 0.117647 | node-utils | 267 | 2025-02-19T19:40:20.203038 | Apache-2.0 | false | 62f3ce25f392aed360469c32de87b434 |
"""\nStreamline plotting for 2D vector fields.\n\n"""\n\nimport numpy as np\n\nimport matplotlib as mpl\nfrom matplotlib import _api, cm, patches\nimport matplotlib.colors as mcolors\nimport matplotlib.collections as mcollections\nimport matplotlib.lines as mlines\n\n\n__all__ = ['streamplot']\n\n\ndef streamplot(axes,... | .venv\Lib\site-packages\matplotlib\streamplot.py | streamplot.py | Python | 24,011 | 0.95 | 0.188202 | 0.086207 | react-lib | 716 | 2023-09-06T05:33:58.341525 | BSD-3-Clause | false | 9b709c9065d167d687c441b87b360af9 |
from matplotlib.axes import Axes\nfrom matplotlib.colors import Normalize, Colormap\nfrom matplotlib.collections import LineCollection, PatchCollection\nfrom matplotlib.patches import ArrowStyle\nfrom matplotlib.transforms import Transform\n\nfrom typing import Literal\nfrom numpy.typing import ArrayLike\nfrom .typing ... | .venv\Lib\site-packages\matplotlib\streamplot.pyi | streamplot.pyi | Other | 2,690 | 0.85 | 0.27381 | 0 | python-kit | 734 | 2024-06-15T12:38:26.379355 | GPL-3.0 | false | 399cdedef2e4b3d22558ff438e22bae2 |
# Original code by:\n# John Gill <jng@europe.renre.com>\n# Copyright 2004 John Gill and John Hunter\n#\n# Subsequent changes:\n# The Matplotlib development team\n# Copyright The Matplotlib development team\n\n"""\nTables drawing.\n\n.. note::\n The table implementation in Matplotlib is lightly maintained... | .venv\Lib\site-packages\matplotlib\table.py | table.py | Python | 27,744 | 0.95 | 0.169031 | 0.082504 | vue-tools | 604 | 2023-11-17T03:58:54.177734 | MIT | false | e1e0c7e1ebcf2aca18b79751fd022161 |
from .artist import Artist\nfrom .axes import Axes\nfrom .backend_bases import RendererBase\nfrom .patches import Rectangle\nfrom .path import Path\nfrom .text import Text\nfrom .transforms import Bbox\nfrom .typing import ColorType\n\nfrom collections.abc import Sequence\nfrom typing import Any, Literal, TYPE_CHECKING... | .venv\Lib\site-packages\matplotlib\table.pyi | table.pyi | Other | 3,098 | 0.85 | 0.321839 | 0.024691 | react-lib | 664 | 2025-02-19T12:45:39.472043 | GPL-3.0 | false | b386bb5d4d6363fac143686a692a3a24 |
r"""\nSupport for embedded TeX expressions in Matplotlib.\n\nRequirements:\n\n* LaTeX.\n* \*Agg backends: dvipng>=1.6.\n* PS backend: PSfrag, dvips, and Ghostscript>=9.0.\n* PDF and SVG backends: if LuaTeX is present, it will be used to speed up some\n post-processing steps, but note that it is not used to parse the T... | .venv\Lib\site-packages\matplotlib\texmanager.py | texmanager.py | Python | 15,033 | 0.95 | 0.144022 | 0.073171 | react-lib | 855 | 2024-10-31T02:06:38.029939 | MIT | false | b6d8edb9b9ca037927dfccc0df928fb7 |
from .backend_bases import RendererBase\n\nfrom matplotlib.typing import ColorType\n\nimport numpy as np\n\nclass TexManager:\n texcache: str\n @classmethod\n def get_basefile(\n cls, tex: str, fontsize: float, dpi: float | None = ...\n ) -> str: ...\n @classmethod\n def get_font_preamble(cls) ... | .venv\Lib\site-packages\matplotlib\texmanager.pyi | texmanager.pyi | Other | 1,116 | 0.85 | 0.263158 | 0 | react-lib | 240 | 2024-05-04T02:04:44.981531 | MIT | false | ca635b0c787b29553c371543a424516c |
"""\nClasses for including text in a figure.\n"""\n\nimport functools\nimport logging\nimport math\nfrom numbers import Real\nimport weakref\n\nimport numpy as np\n\nimport matplotlib as mpl\nfrom . import _api, artist, cbook, _docstring\nfrom .artist import Artist\nfrom .font_manager import FontProperties\nfrom .patch... | .venv\Lib\site-packages\matplotlib\text.py | text.py | Python | 70,856 | 0.75 | 0.136118 | 0.060498 | react-lib | 635 | 2024-01-09T01:06:05.046012 | BSD-3-Clause | false | 4d718971ece296b4828952349a3e823a |
from .artist import Artist\nfrom .backend_bases import RendererBase\nfrom .font_manager import FontProperties\nfrom .offsetbox import DraggableAnnotation\nfrom .path import Path\nfrom .patches import FancyArrowPatch, FancyBboxPatch\nfrom .textpath import ( # noqa: F401, reexported API\n TextPath as TextPath,\n T... | .venv\Lib\site-packages\matplotlib\text.pyi | text.pyi | Other | 7,019 | 0.95 | 0.425414 | 0.022727 | react-lib | 931 | 2023-12-01T05:55:41.240573 | BSD-3-Clause | false | 8bd3abe46bce6ed433da4bf265178b4e |
from collections import OrderedDict\nimport logging\nimport urllib.parse\n\nimport numpy as np\n\nfrom matplotlib import _text_helpers, dviread\nfrom matplotlib.font_manager import (\n FontProperties, get_font, fontManager as _fontManager\n)\nfrom matplotlib.ft2font import LoadFlags\nfrom matplotlib.mathtext import ... | .venv\Lib\site-packages\matplotlib\textpath.py | textpath.py | Python | 13,254 | 0.95 | 0.133501 | 0.028125 | react-lib | 20 | 2024-06-08T22:39:50.827247 | MIT | false | 9593a739b0619c9f5360a6f2808204f3 |
from matplotlib.font_manager import FontProperties\nfrom matplotlib.ft2font import FT2Font\nfrom matplotlib.mathtext import MathTextParser, VectorParse\nfrom matplotlib.path import Path\n\nimport numpy as np\n\nfrom typing import Literal\n\nclass TextToPath:\n FONT_SCALE: float\n DPI: float\n mathtext_parser: ... | .venv\Lib\site-packages\matplotlib\textpath.pyi | textpath.pyi | Other | 2,529 | 0.95 | 0.189189 | 0.014706 | python-kit | 443 | 2024-04-28T17:30:39.970114 | GPL-3.0 | false | cbb841dc09d4143797940499f80d251f |
from collections.abc import Callable, Sequence\nfrom typing import Any, Literal\n\nfrom matplotlib.axis import Axis\nfrom matplotlib.transforms import Transform\nfrom matplotlib.projections.polar import _AxisWrapper\n\nimport numpy as np\n\nclass _DummyAxis:\n __name__: str\n def __init__(self, minpos: float = ..... | .venv\Lib\site-packages\matplotlib\ticker.pyi | ticker.pyi | Other | 10,604 | 0.95 | 0.418831 | 0.028881 | python-kit | 163 | 2024-03-15T12:20:12.572422 | MIT | false | 81419c6bcd9690f1e86a2dae21ac5002 |
"""\nMatplotlib includes a framework for arbitrary geometric transformations that is used to\ndetermine the final position of all elements drawn on the canvas.\n\nTransforms are composed into trees of `TransformNode` objects\nwhose actual value depends on their children. When the contents of\nchildren change, their pa... | .venv\Lib\site-packages\matplotlib\transforms.py | transforms.py | Python | 99,707 | 0.75 | 0.168948 | 0.065182 | awesome-app | 83 | 2023-11-23T01:30:32.502263 | GPL-3.0 | false | bd61e61da6d4572863e5722ffaa59ccc |
from .path import Path\nfrom .patches import Patch\nfrom .figure import Figure\nimport numpy as np\nfrom numpy.typing import ArrayLike\nfrom collections.abc import Iterable, Sequence\nfrom typing import Literal\n\nDEBUG: bool\n\nclass TransformNode:\n INVALID_NON_AFFINE: int\n INVALID_AFFINE: int\n INVALID: in... | .venv\Lib\site-packages\matplotlib\transforms.pyi | transforms.pyi | Other | 12,102 | 0.95 | 0.527859 | 0.009709 | awesome-app | 991 | 2024-12-05T20:51:33.878794 | MIT | false | 8f38445f0544a1a74db7c5a111a3dc96 |
"""\nTyping support for Matplotlib\n\nThis module contains Type aliases which are useful for Matplotlib and potentially\ndownstream libraries.\n\n.. admonition:: Provisional status of typing\n\n The ``typing`` module and type stub files are considered provisional and may change\n at any time without a deprecation... | .venv\Lib\site-packages\matplotlib\typing.py | typing.py | Python | 2,439 | 0.95 | 0.038462 | 0.045455 | python-kit | 810 | 2023-08-03T21:52:40.752965 | Apache-2.0 | false | d44fd8b85f74dd9d0ed7a6db7c198f27 |
"""\nThe classes here provide support for using custom classes with\nMatplotlib, e.g., those that do not expose the array interface but know\nhow to convert themselves to arrays. It also supports classes with\nunits and units conversion. Use cases include converters for custom\nobjects, e.g., a list of datetime objec... | .venv\Lib\site-packages\matplotlib\units.py | units.py | Python | 6,429 | 0.95 | 0.230769 | 0.075 | vue-tools | 885 | 2023-11-02T10:12:18.497859 | GPL-3.0 | false | 6e516d85658e71cf38cfd48e0816ad6f |
from .artist import Artist\nfrom .axes import Axes\nfrom .backend_bases import FigureCanvasBase, Event, MouseEvent, MouseButton\nfrom .collections import LineCollection\nfrom .figure import Figure\nfrom .lines import Line2D\nfrom .patches import Polygon, Rectangle\nfrom .text import Text\n\nimport PIL.Image\n\nfrom col... | .venv\Lib\site-packages\matplotlib\widgets.pyi | widgets.pyi | Other | 15,370 | 0.95 | 0.293033 | 0.043103 | python-kit | 875 | 2023-12-15T00:43:44.325902 | MIT | false | f6b8fdddf39c7f8f7c2c8b08b1b6edb5 |
"""\nA python interface to Adobe Font Metrics Files.\n\nAlthough a number of other Python implementations exist, and may be more\ncomplete than this, it was decided not to go with them because they were\neither:\n\n1) copyrighted or used a non-BSD compatible license\n2) had too many dependencies and a free standing lib... | .venv\Lib\site-packages\matplotlib\_afm.py | _afm.py | Python | 16,692 | 0.95 | 0.167293 | 0.068027 | awesome-app | 225 | 2023-11-22T05:21:01.609622 | MIT | false | 86827f4c12bedc21045615da204bf687 |
# JavaScript template for HTMLWriter\nJS_INCLUDE = """\n<link rel="stylesheet"\nhref="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">\n<script language="javascript">\n function isInternetExplorer() {\n ua = navigator.userAgent;\n /* MSIE used to detect old browsers and Trident used ... | .venv\Lib\site-packages\matplotlib\_animation_data.py | _animation_data.py | Python | 7,986 | 0.95 | 0.229008 | 0.046218 | node-utils | 493 | 2023-09-25T07:59:30.661430 | BSD-3-Clause | false | 7dc06d1887d4a2f2c3169bb7154edbfb |
def blocking_input_loop(figure, event_names, timeout, handler):\n """\n Run *figure*'s event loop while listening to interactive events.\n\n The events listed in *event_names* are passed to *handler*.\n\n This function is used to implement `.Figure.waitforbuttonpress`,\n `.Figure.ginput`, and `.Axes.clab... | .venv\Lib\site-packages\matplotlib\_blocking_input.py | _blocking_input.py | Python | 1,224 | 0.95 | 0.333333 | 0.074074 | python-kit | 961 | 2023-08-29T05:04:11.995785 | GPL-3.0 | false | 6f3d025f40cece989d2b33d6f0a59da8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.