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

Skip to content

Commit 16735d0

Browse files
committed
wrong method name
wrong method name in docs and abstract class method, simple rename
1 parent 980e4cd commit 16735d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/mathtext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class MathtextBackend(object):
111111
Subclasses need to override the following:
112112
113113
- :meth:`render_glyph`
114-
- :meth:`render_filled_rect`
114+
- :meth:`render_rect_filled`
115115
- :meth:`get_results`
116116
117117
And optionally, if you need to use a Freetype hinting style:
@@ -136,7 +136,7 @@ def render_glyph(self, ox, oy, info):
136136
"""
137137
raise NotImplementedError()
138138

139-
def render_filled_rect(self, x1, y1, x2, y2):
139+
def render_rect_filled(self, x1, y1, x2, y2):
140140
"""
141141
Draw a filled black rectangle from (*x1*, *y1*) to (*x2*, *y2*).
142142
"""

0 commit comments

Comments
 (0)