Initial configuration commit
This commit is contained in:
commit
31c8abea59
266 changed files with 780274 additions and 0 deletions
4
typings/seaborn/external/__init__.pyi
vendored
Normal file
4
typings/seaborn/external/__init__.pyi
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
165
typings/seaborn/external/docscrape.pyi
vendored
Normal file
165
typings/seaborn/external/docscrape.pyi
vendored
Normal file
|
@ -0,0 +1,165 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
from collections.abc import Mapping
|
||||
|
||||
"""Extract reference documentation from the NumPy source tree.
|
||||
|
||||
Copyright (C) 2008 Stefan van der Walt <stefan@mentat.za.net>, Pauli Virtanen <pav@iki.fi>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
||||
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
"""
|
||||
def strip_blank_lines(l):
|
||||
"Remove leading and trailing blank lines from a list of lines"
|
||||
...
|
||||
|
||||
class Reader:
|
||||
"""A line-based string reader.
|
||||
|
||||
"""
|
||||
def __init__(self, data) -> None:
|
||||
"""
|
||||
Parameters
|
||||
----------
|
||||
data : str
|
||||
String with lines separated by '\n'.
|
||||
|
||||
"""
|
||||
...
|
||||
|
||||
def __getitem__(self, n):
|
||||
...
|
||||
|
||||
def reset(self): # -> None:
|
||||
...
|
||||
|
||||
def read(self): # -> Literal['']:
|
||||
...
|
||||
|
||||
def seek_next_non_empty_line(self): # -> None:
|
||||
...
|
||||
|
||||
def eof(self): # -> bool:
|
||||
...
|
||||
|
||||
def read_to_condition(self, condition_func): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def read_to_next_empty_line(self): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def read_to_next_unindented_line(self): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def peek(self, n=...): # -> Literal['']:
|
||||
...
|
||||
|
||||
def is_empty(self): # -> bool:
|
||||
...
|
||||
|
||||
|
||||
|
||||
class ParseError(Exception):
|
||||
def __str__(self) -> str:
|
||||
...
|
||||
|
||||
|
||||
|
||||
Parameter = ...
|
||||
class NumpyDocString(Mapping):
|
||||
"""Parses a numpydoc string to an abstract representation
|
||||
|
||||
Instances define a mapping from section title to structured data.
|
||||
|
||||
"""
|
||||
sections = ...
|
||||
def __init__(self, docstring, config=...) -> None:
|
||||
...
|
||||
|
||||
def __getitem__(self, key):
|
||||
...
|
||||
|
||||
def __setitem__(self, key, val): # -> None:
|
||||
...
|
||||
|
||||
def __iter__(self): # -> Iterator[str]:
|
||||
...
|
||||
|
||||
def __len__(self): # -> int:
|
||||
...
|
||||
|
||||
_role = ...
|
||||
_funcbacktick = ...
|
||||
_funcplain = ...
|
||||
_funcname = ...
|
||||
_funcnamenext = ...
|
||||
_funcnamenext = ...
|
||||
_description = ...
|
||||
_func_rgx = ...
|
||||
_line_rgx = ...
|
||||
empty_description = ...
|
||||
def __str__(self, func_role=...) -> str:
|
||||
...
|
||||
|
||||
|
||||
|
||||
def indent(str, indent=...): # -> LiteralString:
|
||||
...
|
||||
|
||||
def dedent_lines(lines): # -> list[str]:
|
||||
"""Deindent a list of lines maximally"""
|
||||
...
|
||||
|
||||
def header(text, style=...):
|
||||
...
|
||||
|
||||
class FunctionDoc(NumpyDocString):
|
||||
def __init__(self, func, role=..., doc=..., config=...) -> None:
|
||||
...
|
||||
|
||||
def get_func(self): # -> tuple[Any | Overload[(__o: object, /) -> None, (__name: str, __bases: tuple[type, ...], __dict: dict[str, Any], **kwds: Any) -> None] | Unknown, Any | str]:
|
||||
...
|
||||
|
||||
def __str__(self) -> str:
|
||||
...
|
||||
|
||||
|
||||
|
||||
class ClassDoc(NumpyDocString):
|
||||
extra_public_methods = ...
|
||||
def __init__(self, cls, doc=..., modulename=..., func_doc=..., config=...) -> None:
|
||||
...
|
||||
|
||||
@property
|
||||
def methods(self): # -> list[Unknown] | list[str]:
|
||||
...
|
||||
|
||||
@property
|
||||
def properties(self): # -> list[Unknown] | list[str]:
|
||||
...
|
||||
|
||||
|
||||
|
104
typings/seaborn/external/husl.pyi
vendored
Normal file
104
typings/seaborn/external/husl.pyi
vendored
Normal file
|
@ -0,0 +1,104 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
__version__ = ...
|
||||
m = ...
|
||||
m_inv = ...
|
||||
refX = ...
|
||||
refY = ...
|
||||
refZ = ...
|
||||
refU = ...
|
||||
refV = ...
|
||||
lab_e = ...
|
||||
lab_k = ...
|
||||
def husl_to_rgb(h, s, l): # -> list[Unknown | float]:
|
||||
...
|
||||
|
||||
def husl_to_hex(h, s, l): # -> LiteralString:
|
||||
...
|
||||
|
||||
def rgb_to_husl(r, g, b): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def hex_to_husl(hex): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def huslp_to_rgb(h, s, l): # -> list[Unknown | float]:
|
||||
...
|
||||
|
||||
def huslp_to_hex(h, s, l): # -> LiteralString:
|
||||
...
|
||||
|
||||
def rgb_to_huslp(r, g, b): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def hex_to_huslp(hex): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def lch_to_rgb(l, c, h): # -> list[Unknown | float]:
|
||||
...
|
||||
|
||||
def rgb_to_lch(r, g, b): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def max_chroma(L, H): # -> float:
|
||||
...
|
||||
|
||||
def max_chroma_pastel(L): # -> float:
|
||||
...
|
||||
|
||||
def dot_product(a, b): # -> int:
|
||||
...
|
||||
|
||||
def f(t): # -> float:
|
||||
...
|
||||
|
||||
def f_inv(t): # -> float:
|
||||
...
|
||||
|
||||
def from_linear(c): # -> float:
|
||||
...
|
||||
|
||||
def to_linear(c): # -> float:
|
||||
...
|
||||
|
||||
def rgb_prepare(triple): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def hex_to_rgb(hex): # -> list[float]:
|
||||
...
|
||||
|
||||
def rgb_to_hex(triple): # -> LiteralString:
|
||||
...
|
||||
|
||||
def xyz_to_rgb(triple): # -> list[Unknown | float]:
|
||||
...
|
||||
|
||||
def rgb_to_xyz(triple): # -> list[int]:
|
||||
...
|
||||
|
||||
def xyz_to_luv(triple): # -> list[float] | list[Unknown]:
|
||||
...
|
||||
|
||||
def luv_to_xyz(triple): # -> list[float] | list[Unknown]:
|
||||
...
|
||||
|
||||
def luv_to_lch(triple): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def lch_to_luv(triple): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def husl_to_lch(triple): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def lch_to_husl(triple): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def huslp_to_lch(triple): # -> list[Unknown]:
|
||||
...
|
||||
|
||||
def lch_to_huslp(triple): # -> list[Unknown]:
|
||||
...
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue