MCPcopy Create free account
hub / github.com/boostorg/histogram / label

Method label

include/boost/histogram/axis/base.hpp:83–83  ·  view source on GitHub ↗

Returns the axis label, which is a name or description.

Source from the content-addressed store, hash-verified

81
82 /// Returns the axis label, which is a name or description.
83 boost::string_view label() const noexcept { return label_; }
84 /// Change the label of an axis.
85 void label(boost::string_view label) { label_.assign(label.begin(), label.end()); }
86

Callers

nothing calls this directly

Calls 3

assignMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected