Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 3, 2023
1 parent 655cfb8 commit 2f37c64
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ How did ``pyhf`` get started?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In 2017 Lukas Heinrich was discussing with colleauge Holger Schulz how it would be convenient
to share and produce statistical results from LHC experiements if they were able to be
to share and produce statistical results from LHC experiments if they were able to be
created with tools that didn't require the large ``C++`` dependencies and tooling expertise as
:math:`\HiFa{}`.
Around the same time that Lukas began thinking on these ideas, Matthew Feickert was working on
Expand Down
2 changes: 1 addition & 1 deletion docs/governance/ROADMAP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is the pyhf 2019 into 2020 Roadmap (Issue
Overview and Goals
------------------

We will follow loosely Seibert’s `Heirarchy of
We will follow loosely Seibert’s `Hierarchy of
Needs <https://twitter.com/FRoscheck/status/1159158552298229763>`__

|Seibert Hierarchy of Needs SciPy 2019| (`Stan
Expand Down
2 changes: 1 addition & 1 deletion src/pyhf/contrib/viz/brazil.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def plot_brazil_band(test_pois, cls_obs, cls_exp, test_size, ax, **kwargs):
ax (:obj:`matplotlib.axes.Axes`): The matplotlib axis object to plot on.
Returns:
:obj:`tuple`: The :obj:`matplotlib.aritst` objects drawn.
:obj:`tuple`: The :obj:`matplotlib.artist` objects drawn.
"""
line_color = kwargs.pop("color", "black")
(cls_obs_line,) = ax.plot(
Expand Down
4 changes: 2 additions & 2 deletions src/pyhf/tensor/jax_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def clip(self, tensor_in, min_value, max_value):
Args:
tensor_in (:obj:`tensor`): The input tensor object
min_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The minimum value to be cliped to
max_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The maximum value to be cliped to
min_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The minimum value to be clipped to
max_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The maximum value to be clipped to
Returns:
JAX ndarray: A clipped `tensor`
Expand Down
4 changes: 2 additions & 2 deletions src/pyhf/tensor/numpy_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def clip(
Args:
tensor_in (:obj:`tensor`): The input tensor object
min_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The minimum value to be cliped to
max_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The maximum value to be cliped to
min_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The minimum value to be clipped to
max_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The maximum value to be clipped to
Returns:
NumPy ndarray: A clipped `tensor`
Expand Down
4 changes: 2 additions & 2 deletions src/pyhf/tensor/pytorch_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def clip(self, tensor_in, min_value, max_value):
Args:
tensor_in (:obj:`tensor`): The input tensor object
min_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The minimum value to be cliped to
max_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The maximum value to be cliped to
min_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The minimum value to be clipped to
max_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The maximum value to be clipped to
Returns:
PyTorch tensor: A clipped `tensor`
Expand Down
4 changes: 2 additions & 2 deletions src/pyhf/tensor/tensorflow_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def clip(self, tensor_in, min_value, max_value):
Args:
tensor_in (:obj:`tensor`): The input tensor object
min_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The minimum value to be cliped to
max_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The maximum value to be cliped to
min_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The minimum value to be clipped to
max_value (:obj:`scalar` or :obj:`tensor` or :obj:`None`): The maximum value to be clipped to
Returns:
TensorFlow Tensor: A clipped `tensor`
Expand Down

0 comments on commit 2f37c64

Please sign in to comment.