8000 Inherit many macos backend docstrings. · matplotlib/matplotlib@cf2fc2c · GitHub
[go: up one dir, main page]

Skip to content

Commit cf2fc2c

Browse files
committed
Inherit many macos backend docstrings.
1 parent 3773128 commit cf2fc2c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/_macosx.m

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ static CGFloat _get_device_scale(CGContextRef cr)
525525
{"flush_events",
526526
(PyCFunction)FigureCanvas_flush_events,
527527
METH_NOARGS,
528-
"Flush the GUI events for the figure."
528+
NULL, // docstring inherited.
529529
},
530530
{"set_rubberband",
531531
(PyCFunction)FigureCanvas_set_rubberband,
@@ -540,12 +540,12 @@ static CGFloat _get_device_scale(CGContextRef cr)
540540
{"start_event_loop",
541541
(PyCFunction)FigureCanvas_start_event_loop,
542542
METH_KEYWORDS | METH_VARARGS,
543-
"Runs the event loop until the timeout or until stop_event_loop is called.\n",
543+
NULL, // docstring inherited.
544544
},
545545
{"stop_event_loop",
546546
(PyCFunction)FigureCanvas_stop_event_loop,
547547
METH_NOARGS,
548-
"Stops the event loop that was started by start_event_loop.\n",
548+
NULL, // docstring inherited.
549549
},
550550
{NULL} /* Sentinel */
551551
};
@@ -768,27 +768,27 @@ static CGFloat _get_device_scale(CGContextRef cr)
768768
{"show",
769769
(PyCFunction)FigureManager_show,
770770
METH_NOARGS,
771-
"Shows the window associated with the figure manager."
771+
NULL, // docstring inherited.
772772
},
773773
{"destroy",
774774
(PyCFunction)FigureManager_destroy,
775775
METH_NOARGS,
776-
"Closes the window associated with the figure manager."
776+
NULL, // docstring inherited.
777777
},
778778
{"set_window_title",
779779
(PyCFunction)FigureManager_set_window_title,
780780
METH_VARARGS,
781-
"Sets the title of the window associated with the figure manager."
781+
NULL, // docstring inherited.
782782
},
783783
{"get_window_title",
784784
(PyCFunction)FigureManager_get_window_title,
785785
METH_NOARGS,
786-
"Returns the title of the window associated with the figure manager."
786+
NULL, // docstring inherited.
787787
},
788788
{"resize",
789789
(PyCFunction)FigureManager_resize,
790790
METH_VARARGS,
791-
"Resize the window (in pixels)."
791+
NULL, // docstring inherited.
792792
},
793793
{NULL} /* Sentinel */
794794
};
@@ -1159,7 +1159,7 @@ -(void)save_figure:(id)sender
11591159
{"set_message",
11601160
(PyCFunction)NavigationToolbar2_set_message,
11611161
METH_VARARGS,
1162-
"Set the message to be displayed on the toolbar."
1162+
NULL, // docstring inherited.
11631163
},
11641164
{NULL} /* Sentinel */
11651165
};
@@ -2072,12 +2072,12 @@ static void context_cleanup(const void* info)
20722072
{"_timer_start",
20732073
(PyCFunction)Timer__timer_start,
20742074
METH_VARARGS,
2075-
"Initialize and start the timer."
2075+
NULL, // docstring inherited.
20762076
},
20772077
{"_timer_stop",
20782078
(PyCFunction)Timer__timer_stop,
20792079
METH_NOARGS,
2080-
"Stop the timer."
2080+
NULL, // docstring inherited.
20812081
},
20822082
{NULL} /* Sentinel */
20832083
};

0 commit comments

Comments
 (0)
0