-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
pyplot.annotate() API deprecation #15142
Copy link
Copy link
Closed
Labels
DocumentationRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone
Metadata
Metadata
Assignees
Labels
DocumentationRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Bug report
Bug summary
I wanted to update my code that annotates a plot by changed the deprecated keyword argument
stotextas described in the documentation of matplotlib v3.1.1. However it fails to recognisetextas an argument and requestssinstead.Code for reproduction
Actual outcome
Expected outcome
I would expect that the keyword we should use in version 3.1.1 would be 'text' since in the documentation (https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.annotate.html) it says:
Matplotlib version
print(matplotlib.get_backend())): TkAggI installed matplotlib through pip