Commit d978b3b
committed
Fix docstring of Axes.cla()
The docstring was written for pyplot.cla() but "current" is incorrect
for the Axes method. Also, Axes.cla() and Axes.clear() should have the
same docstring as they are synonyms.
To support a different docstring in pyplot, I had to explicitly define
pyplot.cla() and remove it from boilerplate.py generation. Given that
the function is trivial, this is an ok tradeoff for a better docstring
on the Axes.1 parent 4b244a7 commit d978b3b
3 files changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1088 | 1088 | | |
1089 | 1089 | | |
1090 | 1090 | | |
1091 | | - | |
| 1091 | + | |
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1064 | 1064 | | |
1065 | 1065 | | |
1066 | 1066 | | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1067 | 1073 | | |
1068 | 1074 | | |
1069 | 1075 | | |
| |||
2626 | 2632 | | |
2627 | 2633 | | |
2628 | 2634 | | |
2629 | | - | |
2630 | | - | |
2631 | | - | |
2632 | | - | |
2633 | | - | |
2634 | | - | |
2635 | 2635 | | |
2636 | 2636 | | |
2637 | 2637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| |||
0 commit comments