8000 removed svg from tests and changed test names to match image names · matplotlib/matplotlib@90dcfe2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 90dcfe2

Browse files
committed
removed svg from tests and changed test names to match image names
1 parent 013d2e2 commit 90dcfe2

File tree

4 files changed

+6
-62
lines changed

4 files changed

+6
-62
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,6 +1356,7 @@ def apply_aspect(self, position=None):
13561356
Use :meth:`_aspect` and :meth:`_adjustable` to modify the
13571357
axes box or the view limits.
13581358
"""
1359+
print('Apply Aspect')
13591360
if position is None:
13601361
position = self.get_position(original=True)
13611362

@@ -1406,6 +1407,7 @@ def apply_aspect(self, position=None):
14061407
pb = position.frozen()
14071408
pb1 = pb.shrunk_to_aspect(box_aspect, pb, fig_aspect)
14081409
self.set_position(pb1.anchored(self.get_anchor(), pb), 'active')
1410+
print('self.gwet_positions', self.get_position(), self._position)
14091411
return
14101412

14111413
# reset active to original in case it had been changed

lib/matplotlib/tests/baseline_images/test_image/figimage-0.svg

Lines changed: 0 additions & 29 deletions
This file was deleted.

lib/matplotlib/tests/baseline_images/test_image/figimage-1.svg

Lines changed: 0 additions & 29 deletions
This file was deleted.

lib/matplotlib/tests/test_image.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def test_interp_nearest_vs_none():
7373

7474

7575
@image_comparison(baseline_images=['figimage-0'],
76-
extensions=['png','svg','pdf'])
77-
def test_figimage():
76+
extensions=['png','pdf'])
77+
def test_figimage0():
7878
'test the figimage method'
7979

8080
for suppressComposite in [False]:
@@ -91,8 +91,8 @@ def test_figimage():
9191
fig.figimage(img[::-1,::-1], xo=100, yo=100, origin='lower')
9292

9393
@image_comparison(baseline_images=['figimage-1'],
94-
extensions=['png','svg','pdf'])
95-
def test_figimage2():
94+
extensions=['png','pdf'])
95+
def test_figimage1():
9696
'test the figimage method'
9797

9898
for suppressComposite in [True]:

0 commit comments

Comments
 (0)
0