From 386cd9833b20bbb566501482ceffd89b962ee975 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sat, 31 Aug 2019 04:17:40 -0400
Subject: [PATCH 5/6] Don't set box-forced in Cartopy example.
It is deprecated in Matplotlib 2.2, removed in 3.1, and appears to have
no effect on the result.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
doc/gallery/plot_cartopy_facetgrid.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/gallery/plot_cartopy_facetgrid.py b/doc/gallery/plot_cartopy_facetgrid.py
index 3eded115..294529d1 100644
--- a/doc/gallery/plot_cartopy_facetgrid.py
+++ b/doc/gallery/plot_cartopy_facetgrid.py
@@ -39,6 +39,6 @@ for ax in p.axes.flat:
ax.set_extent([-160, -30, 5, 75])
# Without this aspect attributes the maps will look chaotic and the
# "extent" attribute above will be ignored
- ax.set_aspect('equal', 'box-forced')
+ ax.set_aspect('equal')
plt.show()
--
2.21.0