Hugues Hoppe

Results 11 issues of Hugues Hoppe

The documentation makes several references to `dynamic_miniters` but this name is not defined anywhere. Looking at the source code, it is a class attribute that appears to be set based...

### Describe the issue: I'm trying to use typed `np.ndarray` with mypy. I find many cases where computations involving `np.ndarray` eventually become type `Any`. I am not certain if the...

00 - Bug
Static typing
component: numpy.typing

For this program: ``` from __future__ import annotations from typing import Iterable def function1(value: int | str = 1) -> None: pass def function2(value: int | str | Iterable[int |...

bug

Packages often include typenames that expand to long `Union[...]` definitions. Examples include `ArrayLike` and `DTypeLike` from `numpy.typing` (see [here](https://numpy.org/devdocs/reference/typing.html#numpy.typing.ArrayLike)) For this sample program ```python from typing import Any import numpy...

enhancement

Input: ``` from typing import Union def test1_func(arg: Union[None, str, int]) -> None: return ``` Resulting documentation: `def test1_func(arg: Union[ForwardRef(None), str, int]) ‑> None` Expected documentation: `def test1_func(arg: Union[None, str,...

Fix #9 . Adding `np.clip(a, 0.0, 1.0)` seems unnecessary because the color map function handles this already.

In the doc page https://tutorial.pyvista.org/getting-started.html, it is disappointing to see that only the `'static'` backend is supported under Colab. (Also in the [example Colab](https://colab.research.google.com/drive/1y0yURyB-5ApO3zM0vsSK7OaobxjncI3h?usp=sharing).) However, the notebook [here](https://colab.research.google.com/github/fem-on-colab/fem-on-colab.github.io/blob/gh-pages/tests/vtk/test-pyvista.ipynb) suggested that...

feature-request

Created a mediapy_examples.py file that mirrors the mediapy_examples.ipynb notebook (using jupytext). Running lint tools on it suggested several small improvements. Got the package to also work on sys.platform == 'win32';...

I use `jupytext --sync` frequently across many files to synchronize changes in either direction between *.py and *.ipynb. Often, no synchronization is necessary and it reports: ``` jupytext --sync **/*.ipynb...