Function
hist2d
(
x: ArrayLike,
y: ArrayLike,
bins: None | int | tuple[int, int] | ArrayLike | tuple[ArrayLike, ArrayLike] = 10,
range: ArrayLike | None = None,
density: bool = False,
weights: ArrayLike | None = None,
cmin: float | None = None,
cmax: float | None = None,
*,
data: DataParamType = None,
**kwargs,
)
Source from the content-addressed store, hash-verified
| 3705 | # Autogenerated by boilerplate.py. Do not edit as changes will be lost. |
| 3706 | @_copy_docstring_and_deprecators(Axes.hist2d) |
| 3707 | def hist2d( |
| 3708 | x: ArrayLike, |
| 3709 | y: ArrayLike, |
| 3710 | bins: None | int | tuple[int, int] | ArrayLike | tuple[ArrayLike, ArrayLike] = 10, |
| 3711 | range: ArrayLike | None = None, |
| 3712 | density: bool = False, |
| 3713 | weights: ArrayLike | None = None, |
| 3714 | cmin: float | None = None, |
| 3715 | cmax: float | None = None, |
| 3716 | *, |
| 3717 | data: DataParamType = None, |
| 3718 | **kwargs, |
| 3719 | ) -> tuple[np.ndarray, np.ndarray, np.ndarray, QuadMesh]: |
| 3720 | __ret = gca().hist2d( |
| 3721 | x, |
| 3722 | y, |
| 3723 | bins=bins, |
| 3724 | range=range, |
| 3725 | density=density, |
| 3726 | weights=weights, |
| 3727 | cmin=cmin, |
| 3728 | cmax=cmax, |
| 3729 | **({"data": data} if data is not None else {}), |
| 3730 | **kwargs, |
| 3731 | ) |
| 3732 | sci(__ret[-1]) |
| 3733 | return __ret |
| 3734 | |
| 3735 | |
| 3736 | # Autogenerated by boilerplate.py. Do not edit as changes will be lost. |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…