MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / histogram

Method histogram

source/matplot/axes_objects/histogram.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace matplot {
13
14 histogram::histogram(class axes_type *parent) : axes_object(parent) {
15 if (parent_->y_axis().limits_mode_auto()) {
16 parent_->y_axis().limits({0, inf});
17 }
18 }
19
20 histogram::histogram(class axes_type *parent,
21 const std::vector<double> &data, size_t n_bins,

Callers

nothing calls this directly

Calls 2

limits_mode_autoMethod · 0.80
limitsMethod · 0.80

Tested by

no test coverage detected