Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75b4aff

Browse files
committed
Changed pyplot.gca() and gcf() so doc string more explicity relates to function name
1 parent 711bacb commit 75b4aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def make_active(event):
453453

454454

455455
def gcf():
456-
"Return a reference to the current figure."
456+
"Get a reference to the current figure."
457457

458458
figManager = _pylab_helpers.Gcf.get_active()
459459
if figManager is not None:
@@ -809,7 +809,7 @@ def sca(ax):
809809

810810
def gca(**kwargs):
811811
"""
812-
Return the current :class:`~matplotlib.axes.Axes` instance on the
812+
Get the current :class:`~matplotlib.axes.Axes` instance on the
813813
current figure matching the given keyword args, or create one.
814814
815815
Examples

0 commit comments

Comments
 (0)