Function
bar
(
x: float | ArrayLike,
height: float | ArrayLike,
width: float | ArrayLike = 0.8,
bottom: float | ArrayLike | None = None,
*,
align: Literal["center", "edge"] = "center",
data: DataParamType = None,
**kwargs,
)
Source from the content-addressed store, hash-verified
| 3126 | # Autogenerated by boilerplate.py. Do not edit as changes will be lost. |
| 3127 | @_copy_docstring_and_deprecators(Axes.bar) |
| 3128 | def bar( |
| 3129 | x: float | ArrayLike, |
| 3130 | height: float | ArrayLike, |
| 3131 | width: float | ArrayLike = 0.8, |
| 3132 | bottom: float | ArrayLike | None = None, |
| 3133 | *, |
| 3134 | align: Literal["center", "edge"] = "center", |
| 3135 | data: DataParamType = None, |
| 3136 | **kwargs, |
| 3137 | ) -> BarContainer: |
| 3138 | return gca().bar( |
| 3139 | x, |
| 3140 | height, |
| 3141 | width=width, |
| 3142 | bottom=bottom, |
| 3143 | align=align, |
| 3144 | **({"data": data} if data is not None else {}), |
| 3145 | **kwargs, |
| 3146 | ) |
| 3147 | |
| 3148 | |
| 3149 | # Autogenerated by boilerplate.py. Do not edit as changes will be lost. |
Callers
nothing calls this directly
Tested by
no test coverage detected