Initial configuration commit

This commit is contained in:
Alex Selimov 2023-10-24 22:54:55 -04:00
commit 31c8abea59
266 changed files with 780274 additions and 0 deletions

View file

@ -0,0 +1,48 @@
"""
This type stub file was generated by pyright.
"""
import numpy as np
from .backend_bases import RendererBase
from matplotlib.typing import ColorType
class TexManager:
texcache: str
@classmethod
def get_basefile(cls, tex: str, fontsize: float, dpi: float | None = ...) -> str:
...
@classmethod
def get_font_preamble(cls) -> str:
...
@classmethod
def get_custom_preamble(cls) -> str:
...
@classmethod
def make_tex(cls, tex: str, fontsize: float) -> str:
...
@classmethod
def make_dvi(cls, tex: str, fontsize: float) -> str:
...
@classmethod
def make_png(cls, tex: str, fontsize: float, dpi: float) -> str:
...
@classmethod
def get_grey(cls, tex: str, fontsize: float | None = ..., dpi: float | None = ...) -> np.ndarray:
...
@classmethod
def get_rgba(cls, tex: str, fontsize: float | None = ..., dpi: float | None = ..., rgb: ColorType = ...) -> np.ndarray:
...
@classmethod
def get_text_width_height_descent(cls, tex: str, fontsize, renderer: RendererBase | None = ...) -> tuple[int, int, int]:
...