-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Good first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!
Milestone
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.
Metadata
Metadata
Assignees
Labels
Good first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!