diff --git a/test/series_analysis/test_plot_series_by_init.py b/test/series_analysis/test_plot_series_by_init.py index 5ec6bc4b..505ce189 100644 --- a/test/series_analysis/test_plot_series_by_init.py +++ b/test/series_analysis/test_plot_series_by_init.py @@ -10,7 +10,7 @@ # ignore the MatplotlibFutureDeprecation warning which does not affect this code # since changes must be made to Cartopy -warnings.simplefilter(action='ignore', category=matplotlib.cbook.mplDeprecation) +warnings.simplefilter(action='ignore', category=matplotlib.MatplotlibDeprecationWarning) @pytest.mark.skip('Requires large dataset to run and special packages, uncomment import to run') def test_expected_files_created():