@@ -525,7 +525,7 @@ static CGFloat _get_device_scale(CGContextRef cr)
525
525
{" flush_events" ,
526
526
(PyCFunction)FigureCanvas_flush_events,
527
527
METH_NOARGS,
528
- " Flush the GUI events for the figure. "
528
+ NULL , // docstring inherited.
529
529
},
530
530
{" set_rubberband" ,
531
531
(PyCFunction)FigureCanvas_set_rubberband,
@@ -540,12 +540,12 @@ static CGFloat _get_device_scale(CGContextRef cr)
540
540
{" start_event_loop" ,
541
541
(PyCFunction)FigureCanvas_start_event_loop,
542
542
METH_KEYWORDS | METH_VARARGS,
543
- " Runs the event loop until the timeout or until stop_event_loop is called. \n " ,
543
+ NULL , // docstring inherited.
544
544
},
545
545
{" stop_event_loop" ,
546
546
(PyCFunction)FigureCanvas_stop_event_loop,
547
547
METH_NOARGS,
548
- " Stops the event loop that was started by start_event_loop. \n " ,
548
+ NULL , // docstring inherited.
549
549
},
550
550
{NULL } /* Sentinel */
551
551
};
@@ -768,27 +768,27 @@ static CGFloat _get_device_scale(CGContextRef cr)
768
768
{" show" ,
769
769
(PyCFunction)FigureManager_show,
770
770
METH_NOARGS,
771
- " Shows the window associated with the figure manager. "
771
+ NULL , // docstring inherited.
772
772
},
773
773
{" destroy" ,
774
774
(PyCFunction)FigureManager_destroy,
775
775
METH_NOARGS,
776
- " Closes the window associated with the figure manager. "
776
+ NULL , // docstring inherited.
777
777
},
778
778
{" set_window_title" ,
779
779
(PyCFunction)FigureManager_set_window_title,
780
780
METH_VARARGS,
781
- " Sets the title of the window associated with the figure manager. "
781
+ NULL , // docstring inherited.
782
782
},
783
783
{" get_window_title" ,
784
784
(PyCFunction)FigureManager_get_window_title,
785
785
METH_NOARGS,
786
- " Returns the title of the window associated with the figure manager. "
786
+ NULL , // docstring inherited.
787
787
},
788
788
{" resize" ,
789
789
(PyCFunction)FigureManager_resize,
790
790
METH_VARARGS,
791
- " Resize the window (in pixels). "
791
+ NULL , // docstring inherited.
792
792
},
793
793
{NULL } /* Sentinel */
794
794
};
@@ -1159,7 +1159,7 @@ -(void)save_figure:(id)sender
1159
1159
{" set_message" ,
1160
1160
(PyCFunction)NavigationToolbar2_set_message,
1161
1161
METH_VARARGS,
1162
- " Set the message to be displayed on the toolbar. "
1162
+ NULL , // docstring inherited.
1163
1163
},
1164
1164
{NULL } /* Sentinel */
1165
1165
};
@@ -2072,12 +2072,12 @@ static void context_cleanup(const void* info)
2072
2072
{" _timer_start" ,
2073
2073
(PyCFunction)Timer__timer_start,
2074
2074
METH_VARARGS,
2075
- " Initialize and start the timer. "
2075
+ NULL , // docstring inherited.
2076
2076
},
2077
2077
{" _timer_stop" ,
2078
2078
(PyCFunction)Timer__timer_stop,
2079
2079
METH_NOARGS,
2080
- " Stop the timer. "
2080
+ NULL , // docstring inherited.
2081
2081
},
2082
2082
{NULL } /* Sentinel */
2083
2083
};
0 commit comments