(vals, names)
| 912 | |
| 913 | @staticmethod |
| 914 | def _check_no_units(vals, names): |
| 915 | # Helper method to check that vals are not unitized |
| 916 | for val, name in zip(vals, names): |
| 917 | if not munits._is_natively_supported(val): |
| 918 | raise ValueError(f"{name} must be a single scalar value, " |
| 919 | f"but got {val}") |
| 920 | |
| 921 | @_docstring.interpd |
| 922 | def axline(self, xy1, xy2=None, *, slope=None, **kwargs): |