8000 minor fix flake · matplotlib/matplotlib@6b4d3ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b4d3ce

Browse files
committed
minor fix flake
1 parent cf62766 commit 6b4d3ce

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Interpolation in fill_betweenx
22
------------------------------
33

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

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4955,7 +4955,7 @@ def get_interp_point(ind):
49554955
x1_values = x1[im1:ind + 1]
49564956

49574957
if len(diff_values) == 2:
4958-
if np.ma.is_masked(diff_values[1]):
4958+
if np.ma.is_masked(diff_values[1]):
49594959
return x1[im1], y[im1]
49604960
elif np.ma.is_masked(diff_values[0]):
49614961
return x1[ind], y[ind]

0 commit comments

Comments
 (0)
0