Closed
Description
Bug report
Bug summary
Calls to warnings.warn
should usually set stacklevel=2
(or higher) so that the source line that gets displayed in the warnings message is the line triggering the code, not the line in mpl that has the warnings call (which is basically redundant with the warnings message itself). Right now most of the calls do not include the stacklevel argument.