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 1342d32

Browse filesBrowse files
committed
Merge pull request #3846 from ariejdl/master
BUG : fix typo in base-class MathtextBackend ABC has class that is never over-ridden by sub-classes and never used, renamed to the method used by sub-classes.
2 parents 980e4cd + 16735d0 commit 1342d32
Copy full SHA for 1342d32

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/mathtext.py

Copy file name to clipboardExpand all lines: lib/matplotlib/mathtext.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.