Skip to content

Commit

Permalink
Merge pull request #3846 from ariejdl/master
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tacaswell committed Nov 26, 2014
1 parent f686001 commit 344e095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/mathtext.py
Expand Up @@ -111,7 +111,7 @@ class MathtextBackend(object):
Subclasses need to override the following:
- :meth:`render_glyph`
- :meth:`render_filled_rect`
- :meth:`render_rect_filled`
- :meth:`get_results`
And optionally, if you need to use a Freetype hinting style:
Expand All @@ -136,7 +136,7 @@ def render_glyph(self, ox, oy, info):
"""
raise NotImplementedError()

def render_filled_rect(self, x1, y1, x2, y2):
def render_rect_filled(self, x1, y1, x2, y2):
"""
Draw a filled black rectangle from (*x1*, *y1*) to (*x2*, *y2*).
"""
Expand Down

0 comments on commit 344e095

Please sign in to comment.