MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _check_consistent_shapes

Function _check_consistent_shapes

lib/matplotlib/quiver.py:493–496  ·  view source on GitHub ↗
(*arrays)

Source from the content-addressed store, hash-verified

491
492
493def _check_consistent_shapes(*arrays):
494 all_shapes = {a.shape for a in arrays}
495 if len(all_shapes) != 1:
496 raise ValueError('The shapes of the passed in arrays do not match')
497
498
499class Quiver(mcollections.PolyCollection):

Callers 2

set_UVCMethod · 0.85
set_offsetsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…