Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e28eae2

Browse filesBrowse files
committed
Update polar test images.
Also, switch to default style for all updated images.
1 parent 19c64c4 commit e28eae2
Copy full SHA for e28eae2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

42 files changed

+20637
-16553
lines changed
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/markevery_polar.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/markevery_polar.svg
+4,484-7,630Lines changed: 4484 additions & 7630 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_axes.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_axes.svg
+1,066-1,115Lines changed: 1066 additions & 1115 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_coords.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_coords.svg
+101-195Lines changed: 101 additions & 195 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_negative_rmin.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_negative_rmin.svg
+1,663Lines changed: 1663 additions & 0 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_rlabel_position.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_rlabel_position.svg
+747-808Lines changed: 747 additions & 808 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_rmin.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_rmin.svg
+1,327-1,388Lines changed: 1327 additions & 1388 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_rorigin.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_rorigin.svg
+2,034Lines changed: 2034 additions & 0 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_theta_position.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_theta_position.svg
+1,193-1,176Lines changed: 1193 additions & 1176 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_theta_wedge.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_theta_wedge.svg
+3,904Lines changed: 3904 additions & 0 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_units.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_units.svg
+1,143-1,174Lines changed: 1143 additions & 1174 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_units_2.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_units_2.svg
+1,144-1,175Lines changed: 1144 additions & 1175 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_wrap_180.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_wrap_180.svg
+899-930Lines changed: 899 additions & 930 deletions
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_axes/polar_wrap_360.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/polar_wrap_360.svg
+921-952Lines changed: 921 additions & 952 deletions

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def test_annotate_default_arrow():
349349
assert ann.arrow_patch is not None
350350

351351

352-
@image_comparison(baseline_images=['polar_axes'])
352+
@image_comparison(baseline_images=['polar_axes'], style='default')
353353
def test_polar_annotations():
354354
# you can specify the xypoint and the xytext in different
355355
# positions and coordinate systems, and optionally turn on a
@@ -383,7 +383,7 @@ def test_polar_annotations():
383383
)
384384

385385

386-
@image_comparison(baseline_images=['polar_coords'],
386+
@image_comparison(baseline_images=['polar_coords'], style='default',
387387
remove_text=True)
388388
def test_polar_coord_annotations():
389389
# You can also use polar notation on a catesian axes. Here the
@@ -558,9 +558,8 @@ def test_const_xy():
558558
plt.plot(np.ones((10,)), np.ones((10,)), 'o')
559559

560560

561-
@image_comparison(baseline_images=['polar_wrap_180',
562-
'polar_wrap_360',
563-
])
561+
@image_comparison(baseline_images=['polar_wrap_180', 'polar_wrap_360'],
562+
style='default')
564563
def test_polar_wrap():
565564
D2R = np.pi / 180.0
566565

@@ -581,7 +580,8 @@ def test_polar_wrap():
581580
plt.rgrids([0.05, 0.1, 0.15, 0.2, 0.25, 0.3])
582581

583582

584-
@image_comparison(baseline_images=['polar_units', 'polar_units_2'])
583+
@image_comparison(baseline_images=['polar_units', 'polar_units_2'],
584+
style='default')
585585
def test_polar_units():
586586
import matplotlib.testing.jpl_units as units
587587
units.register()
@@ -612,7 +612,7 @@ def test_polar_units():
612612
units.UnitDblFormatter)
613613

614614

615-
@image_comparison(baseline_images=['polar_rmin'])
615+
@image_comparison(baseline_images=['polar_rmin'], style='default')
616616
def test_polar_rmin():
617617
r = np.arange(0, 3.0, 0.01)
618618
theta = 2*np.pi*r
@@ -661,7 +661,7 @@ def test_polar_theta_position():
661661
ax.set_theta_direction('clockwise')
662662

663663

664-
@image_comparison(baseline_images=['polar_rlabel_position'])
664+
@image_comparison(baseline_images=['polar_rlabel_position'], style='default')
665665
def test_polar_rlabel_position():
666666
fig = plt.figure()
667667
ax = fig.add_subplot(111, projection='polar')
@@ -1307,7 +1307,7 @@ def test_markevery_log_scales():
13071307
plt.plot(x, y, 'o', ls='-', ms=4, markevery=case)
13081308

13091309

1310-
@image_comparison(baseline_images=['markevery_polar'],
1310+
@image_comparison(baseline_images=['markevery_polar'], style='default',
13111311
remove_text=True)
13121312
def test_markevery_polar():
13131313
cases = [None,

‎lib/matplotlib/tests/test_patches.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_patches.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,8 @@ def test_multi_color_hatch():
339339
ax.add_patch(r)
340340

341341

342-
@image_comparison(baseline_images=['polar_proj'], extensions=['png'])
342+
@image_comparison(baseline_images=['polar_proj'], extensions=['png'],
343+
style='default')
343344
def test_adding_rectangle_patch_with_polar_projection():
344345
fig = plt.figure()
345346
ax = fig.add_subplot(111, projection='polar')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.