Skip to content

Commit 1c73204

Browse files
author
Vlas Sokolov
committed
fix more pr comments
1 parent 93c9de5 commit 1c73204

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3135,8 +3135,7 @@ def _extract_errs(err, data, lomask, himask):
31353135
low_err, high_err = err, err
31363136

31373137
# for compatibility with the 2d errorbar function, when both upper
3138-
# and lower limits specified, we need to draw the markers / line -
3139-
# whether or not using both limits makes any sense (it doesn't)
3138+
# and lower limits specified, we need to draw the markers / line
31403139
common_mask = (lomask == himask) & everymask
31413140
_lomask = lomask | common_mask
31423141
_himask = himask | common_mask

lib/mpl_toolkits/tests/test_mplot3d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ def test_minor_ticks():
975975
ax.set_zticklabels(["half"], minor=True)
976976

977977

978-
@mpl3d_image_comparison(['errorbar3d_errorevery.png'], tol=0.03)
978+
@mpl3d_image_comparison(['errorbar3d_errorevery.png'])
979979
def test_errorbar3d_errorevery():
980980
"""Tests errorevery functionality for 3d errorbars."""
981981
t = np.arange(0, 2*np.pi+.1, 0.01)
@@ -993,7 +993,7 @@ def test_errorbar3d_errorevery():
993993
errorevery=estep)
994994

995995

996-
@mpl3d_image_comparison(['errorbar3d.png'], tol=0.03)
996+
@mpl3d_image_comparison(['errorbar3d.png'])
997997
def test_errorbar3d():
998998
"""Tests limits, color styling, and legend for 3d errorbars."""
999999
fig = plt.figure()

0 commit comments

Comments
 (0)