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

Method cluster_width

source/matplot/axes_objects/bars.cpp:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 }
119
120 double bars::cluster_width() {
121 // actual width of the cluster (clusters don't take all their space)
122 return range_for_cluster() * (ys_.size() == 1 ? 1.0 : cluster_width_);
123 }
124
125 double bars::range_for_cluster() {
126 // double min_x_diff = x_minimum_difference();

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected