Skip to content

Commit

Permalink
DOC improvements on scatter plot
Browse files Browse the repository at this point in the history
  • Loading branch information
NelleV committed Mar 18, 2013
1 parent c5d4656 commit 0b5a3fb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/matplotlib/axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ def get_yaxis_text1_transform(self, pad_points):
"""
return (self.get_yaxis_transform(which='tick1') +
mtransforms.ScaledTranslation(-1 * pad_points / 72.0, 0,
self.figure.dpi_scale_trans),
self.figure.dpi_scale_trans),
"center", "right")

def get_yaxis_text2_transform(self, pad_points):
Expand All @@ -721,7 +721,7 @@ def get_yaxis_text2_transform(self, pad_points):
"""
return (self.get_yaxis_transform(which='tick2') +
mtransforms.ScaledTranslation(pad_points / 72.0, 0,
self.figure.dpi_scale_trans),
self.figure.dpi_scale_trans),
"center", "left")

def _update_transScale(self):
Expand Down Expand Up @@ -6162,7 +6162,8 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
vmin=None, vmax=None, alpha=None, linewidths=None,
verts=None, **kwargs):
"""
Make a scatter plot.
Make a scatter plot of x vs y, where x and y are sequence like objects
of the same lengths.
Parameters
----------
Expand Down

0 comments on commit 0b5a3fb

Please sign in to comment.