Torsten Wörtwein
Torsten Wörtwein
bars in bar plot have always the same (tiny) width when they are exported with matlab2tikz. This happens for me with R2016b. If I specifically want a certain bar width...
Similar to #36742 xref #32100
contains also changes in generic/frame.py but only to keep them consistent with series.py edit: and added annotations for frame.py
```py from typing import TypedDict class Movie(TypedDict): name: str year: int def test(dictionary: Movie) -> None: for key, value in dictionary.items(): print(key, value) ``` with mypy 0.900 and python 3.9...
signature.py ```py import inspect import compiled inspect.signature(compiled.fun) ``` compiled.py ```py def fun(test: str = "test") -> int: return 1 ``` ```sh $ mypyc compiled.py $ python signature.py Traceback (most recent...
With python 3.9.7 and mypy 0.910 ```py from typing import Protocol, runtime_checkable @runtime_checkable class Test(Protocol): something: int ``` ```sh $ mypyc test.py ... $ python -c "import test" Traceback (most...
autotyping annotates the following function as returning `bool` but it should be `bool | None` (example from pandas/util/_test_decorators.py) ```py def _skip_if_no_mpl(): mod = safe_import("matplotlib") if mod: mod.use("Agg") else: return True...
After this PR autotyping will gently nudge people to add type annotations for arguments with a string default value. This PR is bigger than expected - there were many untyped...
```py class A: @deprecate_nonkeyword_arguments(version=None, allowed_args=["self"]) def method(self, deprecated_positional=None): ... class B(A): ... B().method(1) # will warn about `A.method` ``` Might be nice to warn about `B.method` https://github.com/pandas-dev/pandas/pull/48592#discussion_r974747938 Could probably use...
**Feature** A function such as `pandas.read_csv` has many arguments - there are many ways in which a stub file can be incompatible with the implementation :) As far as I...