Skip to content

Commit

Permalink
minor fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
rmlopes committed Jun 13, 2016
1 parent cf62766 commit 6b4d3ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions doc/users/whats_new/updated_fill_betweenx.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Interpolation in fill_betweenx
------------------------------

The ``interpolate`` parameter now exists for the method :func:`fill_betweenx`. This allows
a user to interpolate the data and fill the areas in the crossover points, similarly to :func:`fill_between`.
::

The ``interpolate`` parameter now exists for the method :func:`fill_betweenx`.
This allows a user to interpolate the data and fill the areas in the crossover
points, similarly to :func:`fill_between`.
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4955,7 +4955,7 @@ def get_interp_point(ind):
x1_values = x1[im1:ind + 1]

if len(diff_values) == 2:
if np.ma.is_masked(diff_values[1]):
if np.ma.is_masked(diff_values[1]):
return x1[im1], y[im1]
elif np.ma.is_masked(diff_values[0]):
return x1[ind], y[ind]
Expand Down

0 comments on commit 6b4d3ce

Please sign in to comment.