Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b8a01ce

Browse filesBrowse files
authored
Merge pull request #25243 from anntzer/wxd
Cleanup wx docstrings.
2 parents ad55758 + 183dbd1 commit b8a01ce
Copy full SHA for b8a01ce

File tree

Expand file treeCollapse file tree

3 files changed

+0
-21
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+0
-21
lines changed

‎lib/matplotlib/backends/backend_wx.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_wx.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,6 @@ def gui_repaint(self, drawDC=None):
595595
"""
596596
Update the displayed image on the GUI canvas, using the supplied
597597
wx.PaintDC device context.
598-
599-
The 'WXAgg' backend sets origin accordingly.
600598
"""
601599
_log.debug("%s - gui_repaint()", type(self))
602600
# The "if self" check avoids a "wrapped C/C++ object has been deleted"

‎lib/matplotlib/backends/backend_wxagg.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_wxagg.py
-10Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ def get_canvas(self, fig):
1515

1616

1717
class FigureCanvasWxAgg(FigureCanvasAgg, _FigureCanvasWxBase):
18-
"""
19-
The FigureCanvas contains the figure and does event handling.
20-
21-
In the wxPython backend, it is derived from wxPanel, and (usually)
22-
lives inside a frame instantiated by a FigureManagerWx. The parent
23-
window probably implements a wxSizer to control the displayed
24-
control size - but we give a hint as to our preferred minimum
25-
size.
26-
"""
27-
2818
def draw(self, drawDC=None):
2919
"""
3020
Render the figure using agg.

‎lib/matplotlib/backends/backend_wxcairo.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_wxcairo.py
-9Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ def get_canvas(self, fig):
1515

1616

1717
class FigureCanvasWxCairo(FigureCanvasCairo, _FigureCanvasWxBase):
18-
"""
19-
The FigureCanvas contains the figure and does event handling.
20-
21-
In the wxPython backend, it is derived from wxPanel, and (usually) lives
22-
inside a frame instantiated by a FigureManagerWx. The parent window
23-
probably implements a wxSizer to control the displayed control size - but
24-
we give a hint as to our preferred minimum size.
25-
"""
26-
2718
def draw(self, drawDC=None):
2819
size = self.figure.bbox.size.astype(int)
2920
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, *size)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.