- changed status to resolved
deprecations in matplotlib
Issue #594
resolved
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_SeaIceStyle_01[PCOL]
/home/user/PycharmProjects/mss/mslib/mswms/mpl_hsec_styles.py:367: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.
scs = bm.pcolor(lonmesh, latmesh, ice,
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_GenericStyle_styles[default]
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_GenericStyle_styles[nonlinear]
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_GenericStyle_styles[auto]
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_GenericStyle_styles[log]
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_GenericStyle_styles[autolog]
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_GenericStyle_other
/home/user/PycharmProjects/mss/mslib/mswms/mpl_hsec_styles.py:515: MatplotlibDeprecationWarning: The 'norm' parameter to Colorbar has no effect because it is overridden by the mappable; it is deprecated since 3.3 and will be removed two minor releases later.
cbar = self.fig.colorbar(tc, fraction=0.05, pad=0.08, shrink=0.7,
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_EMAC_TracerStyle_ML_01
/home/user/PycharmProjects/mss/mslib/mswms/mpl_hsec_styles.py:1145: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.
tc = bm.pcolor(lonmesh, latmesh, tracer,
mslib/mswms/_tests/test_mss_plot_driver.py::Test_HSec::test_HS_EMAC_TracerStyle_SFC_01
/home/user/PycharmProjects/mss/mslib/mswms/mpl_hsec_styles.py:1219: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.
tc = bm.pcolor(lonmesh, latmesh, tracer,
Comments (1)
-
reporter - Log in to comment
Added shading parameter to pcolor
Fix issue
#594→ <<cset f1105f113169>>