Skip to content

Commit

Permalink
fix url doc url
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrraz committed Mar 27, 2024
1 parent 87c2d12 commit f325a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basics/1d_hist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Integer category

.. note::
When we create the histograms in this example, we use the argument ``storage=bh.storage.Weight()``.
This is because the functions in ``plothist`` assume histograms with a storage that supports weighted data, where the variance of each bin is tracked (more details `here < https://boost-histogram.readthedocs.io/en/latest/user-guide/storage.html#weight>`_ and `there <https://boost-histogram.readthedocs.io/en/latest/api/boost_histogram.html#boost_histogram._internal.hist.Histogram.variances>`_).
This is because the functions in ``plothist`` assume histograms with a storage that supports weighted data, where the variance of each bin is tracked (more details `here <https://boost-histogram.readthedocs.io/en/latest/user-guide/storage.html#weight>`_ and `there <https://boost-histogram.readthedocs.io/en/latest/api/boost_histogram.html#boost_histogram._internal.hist.Histogram.variances>`_).
When creating histograms with regular or variable axes with the function :func:`make_hist() <plothist.histogramming.make_hist>`, as in most of the previous examples, the storage is automatically set to ``bh.storage.Weight()``, so the user does not have to worry about it.


Expand Down

0 comments on commit f325a64

Please sign in to comment.