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

Skip to content

Parsing errors when installing 1.3.0rc2 #2094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/matplotlib/artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1261,9 +1261,8 @@ def setp(obj, *args, **kwargs):
:func:`setp` works with the MATLAB style string/value pairs or
with python kwargs. For example, the following are equivalent::

>>> setp(lines, 'linewidth', 2, 'color', r') # MATLAB style
...
>>> setp(lines, linewidth=2, color='r') # python style
>>> setp(lines, 'linewidth', 2, 'color', 'r') # MATLAB style
>>> setp(lines, linewidth=2, color='r') # python style
"""

insp = ArtistInspector(obj)
Expand Down
4 changes: 2 additions & 2 deletions lib/matplotlib/axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3343,8 +3343,8 @@ def text(self, x, y, s, fontdict=None,
text in the center of the axes::

>>> text(0.5, 0.5,'matplotlib', horizontalalignment='center',
>>> verticalalignment='center',
>>> transform = ax.transAxes)
... verticalalignment='center',
... transform=ax.transAxes)

You can put a rectangular box around the text instance (e.g., to
set a background color) by using the keyword *bbox*. *bbox* is
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/backend_agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def restore_region(self, region, bbox=None, xy=None):
>>> region = renderer.copy_from_bbox()
>>> x1, y1, x2, y2 = region.get_extents()
>>> renderer.restore_region(region, bbox=(x1+dx, y1, x2, y2),
xy=(x1-dx, y1))
... xy=(x1-dx, y1))

"""
if bbox is not None or xy is not None:
Expand Down