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

Method is_rgb

source/matplot/axes_objects/matrix.cpp:333–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 }
332
333 bool matrix::is_rgb() const { return matrices_.size() == 3; }
334
335 bool matrix::is_rgba() const { return matrices_.size() == 4; }
336

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected