summaryrefslogtreecommitdiff
path: root/dev-python/seaborn/files/seaborn-0.12.2-matplotlib-3.7.patch
blob: dbc4908321d9a0b53222cd24cd892bd191441716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
https://github.com/mwaskom/seaborn/commit/db7ae11750fc2dfb695457239708448d54e9b8cd

From db7ae11750fc2dfb695457239708448d54e9b8cd Mon Sep 17 00:00:00 2001
From: Michael Waskom <mwaskom@users.noreply.github.com>
Date: Wed, 25 Jan 2023 16:58:26 -0500
Subject: [PATCH] Update test to reflect change in matplotlib 3.7 (#3236)

--- a/tests/test_axisgrid.py
+++ b/tests/test_axisgrid.py
@@ -331,7 +331,7 @@ def test_subplot_kws(self):
         g = ag.FacetGrid(self.df, despine=False,
                          subplot_kws=dict(projection="polar"))
         for ax in g.axes.flat:
-            assert "PolarAxesSubplot" in str(type(ax))
+            assert "PolarAxes" in ax.__class__.__name__
 
     def test_gridspec_kws(self):
         ratios = [3, 1, 2]