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

Method _quiver_units

lib/matplotlib/axes/_axes.py:5922–5927  ·  view source on GitHub ↗
(self, args, kwargs)

Source from the content-addressed store, hash-verified

5920
5921 # Handle units for x and y, if they've been passed
5922 def _quiver_units(self, args, kwargs):
5923 if len(args) > 3:
5924 x, y = args[0:2]
5925 x, y = self._process_unit_info([("x", x), ("y", y)], kwargs)
5926 return (x, y) + args[2:]
5927 return args
5928
5929 # args can be a combination of X, Y, U, V, C and all should be replaced
5930 @_preprocess_data()

Callers 2

quiverMethod · 0.95
barbsMethod · 0.95

Calls 1

_process_unit_infoMethod · 0.80

Tested by

no test coverage detected