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

Skip to content

Commit b397895

Browse files
committed
TST
1 parent 0cb5d24 commit b397895

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/matplotlib/tests/test_collections.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ def test_polycollection_close():
367367

368368
fig = plt.figure()
369369
ax = Axes3D(fig)
370+
fig.add_axes(ax)
370371

371372
colors = ['r', 'g', 'b', 'y', 'k']
372373
zpos = list(range(5))

lib/matplotlib/tests/test_polar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
from matplotlib.testing.decorators import image_comparison, check_figures_equal
1010

1111

12-
@image_comparison(['polar_axes'], style='default',
13-
tol=0 if platform.machine() == 'x86_64' else 0.01)
12+
@image_comparison(['polar_axes'], style='default', tol=0.012)
1413
def test_polar_annotations():
1514
# You can specify the xypoint and the xytext in different positions and
1615
# coordinate systems, and optionally turn on a connecting line and mark the
@@ -44,7 +43,8 @@ def test_polar_annotations():
4443
ax.tick_params(axis='x', tick1On=True, tick2On=True, direction='out')
4544

4645

47-
@image_comparison(['polar_coords'], style='default', remove_text=True)
46+
@image_comparison(['polar_coords'], style='default', remove_text=True,
47+
tol=0.012)
4848
def test_polar_coord_annotations():
4949
# You can also use polar notation on a cartesian axes. Here the native
5050
# coordinate system ('data') is cartesian, so you need to specify the

0 commit comments

Comments
 (0)