-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unlike the old `ImageTesting` decorator, pytest-mpl support parametrized tests. While this does add a bunch of new tests/images, they are all far smaller than the single test, and can be run in parallel. Since they are all generated anew, I switched to the new mpl20 style. Besides the style, I believe this causes the following changes to gridline locations for inline: - EuroPP labels are half the tick interval as before - OSNI labels latitude every 0.5° instead of every 1° and for inline USA: - InterruptedGoodeHomolosine labels longitude every 10° instead of every 20° - LambertConformal labels longitude every 10° instead of every 20° - NorthPolarStereo labels latitude every 5° instead of every 10° - Robinson labels longitude every 10° instead of every 20° - Stereographic labels longitude every 10° instead of every 20° The automatic display of labels has a few small differences in the inline results, probably due to different Axes size: - Geostationary labels 20°W and 40°E instead of 0° - LambertAzimuthalEqualArea also labels 30°N/30°S somehow - LambertConformal also labels the inner 60°W - NearsidePerspective labels 40°E instead of 60°E - Orthographic also labels 0° longitude - OSGB also labels 6°W and 2°W on the top, and 4°W on the bottom - Robinson also labels 60°W For the inline USA results, there are fewer differences: - AzimuthalEquidistant also labels 60°N, but somewhat poorly - EuroPP, OSGB, and OSNI are skipped since their extent is locked - Geostationary also labels 60°W on the bottom - Gnomonic also labels 68°W - NearsidePerspective also labels 60°W on the bottom - Orthographic also labels 70°W on the bottom
- Loading branch information
Showing
46 changed files
with
37 additions
and
45 deletions.
There are no files selected for viewing
Binary file removed
BIN
-1.49 MB
...artopy/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels_inline.png
Binary file not shown.
Binary file removed
BIN
-1 MB
...py/tests/mpl/baseline_images/mpl/test_gridliner/gridliner_labels_inline_usa.png
Binary file not shown.
Binary file added
BIN
+95.8 KB
.../baseline_images/mpl/test_gridliner/test_grid_labels_inline_AlbersEqualArea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+73.4 KB
...line_images/mpl/test_gridliner/test_grid_labels_inline_AzimuthalEquidistant.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+75.7 KB
...tests/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_EuroPP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.1 KB
...pl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Geostationary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+77.9 KB
...sts/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Gnomonic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.7 KB
...mages/mpl/test_gridliner/test_grid_labels_inline_InterruptedGoodeHomolosine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+85 KB
...images/mpl/test_gridliner/test_grid_labels_inline_LambertAzimuthalEqualArea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+102 KB
...baseline_images/mpl/test_gridliner/test_grid_labels_inline_LambertConformal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.6 KB
...seline_images/mpl/test_gridliner/test_grid_labels_inline_LambertCylindrical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+74.6 KB
...sts/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Mercator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+72.7 KB
...tests/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Miller.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+67.4 KB
...ts/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Mollweide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+70.8 KB
...eline_images/mpl/test_gridliner/test_grid_labels_inline_NearsidePerspective.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.1 KB
...baseline_images/mpl/test_gridliner/test_grid_labels_inline_NorthPolarStereo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38 KB
...y/tests/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_OSGB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34 KB
...y/tests/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_OSNI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+66.2 KB
...mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Orthographic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+62.5 KB
.../mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_PlateCarree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+70.1 KB
...sts/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Robinson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+71.1 KB
.../mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_RotatedPole.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63 KB
...s/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Sinusoidal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+87.8 KB
...baseline_images/mpl/test_gridliner/test_grid_labels_inline_SouthPolarStereo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+62.2 KB
...pl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_Stereographic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+65.6 KB
...eline_images/mpl/test_gridliner/test_grid_labels_inline_usa_AlbersEqualArea.png
Oops, something went wrong.
Binary file added
BIN
+61.2 KB
..._images/mpl/test_gridliner/test_grid_labels_inline_usa_AzimuthalEquidistant.png
Oops, something went wrong.
Binary file added
BIN
+37.3 KB
...aseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Geostationary.png
Oops, something went wrong.
Binary file added
BIN
+66 KB
...mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Gnomonic.png
Oops, something went wrong.
Binary file added
BIN
+38.7 KB
...s/mpl/test_gridliner/test_grid_labels_inline_usa_InterruptedGoodeHomolosine.png
Oops, something went wrong.
Binary file added
BIN
+59.9 KB
...es/mpl/test_gridliner/test_grid_labels_inline_usa_LambertAzimuthalEqualArea.png
Oops, something went wrong.
Binary file added
BIN
+70.2 KB
...line_images/mpl/test_gridliner/test_grid_labels_inline_usa_LambertConformal.png
Oops, something went wrong.
Binary file added
BIN
+26.2 KB
...ne_images/mpl/test_gridliner/test_grid_labels_inline_usa_LambertCylindrical.png
Oops, something went wrong.
Binary file added
BIN
+29.4 KB
...mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Mercator.png
Oops, something went wrong.
Binary file added
BIN
+28.8 KB
...s/mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Miller.png
Oops, something went wrong.
Binary file added
BIN
+33.7 KB
...pl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Mollweide.png
Oops, something went wrong.
Binary file added
BIN
+36 KB
...e_images/mpl/test_gridliner/test_grid_labels_inline_usa_NearsidePerspective.png
Oops, something went wrong.
Binary file added
BIN
+46 KB
...line_images/mpl/test_gridliner/test_grid_labels_inline_usa_NorthPolarStereo.png
Oops, something went wrong.
Binary file added
BIN
+39.7 KB
...baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Orthographic.png
Oops, something went wrong.
Binary file added
BIN
+27.8 KB
.../baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_PlateCarree.png
Oops, something went wrong.
Binary file added
BIN
+39.2 KB
...mpl/baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Robinson.png
Oops, something went wrong.
Binary file added
BIN
+35.9 KB
.../baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_RotatedPole.png
Oops, something went wrong.
Binary file added
BIN
+34.6 KB
...l/baseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Sinusoidal.png
Oops, something went wrong.
Binary file added
BIN
+37.4 KB
...line_images/mpl/test_gridliner/test_grid_labels_inline_usa_SouthPolarStereo.png
Oops, something went wrong.
Binary file added
BIN
+69.8 KB
...aseline_images/mpl/test_gridliner/test_grid_labels_inline_usa_Stereographic.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters