From 5c273b43890455481a220a5d01ce69a4a24cface Mon Sep 17 00:00:00 2001 From: Adam Theisen Date: Mon, 9 Oct 2023 14:42:47 -0500 Subject: [PATCH] ENH: Bug fix for geoplot example (#722) * ENH: Bug fix for geoplot example * ENH: PEP8 issue * FIX: Fix the linting errors * MNT: Remove stamen for now. * CI: Remove shapely. --------- Co-authored-by: mgrover1 Co-authored-by: zssherman --- continuous_integration/environment_actions.yml | 2 +- examples/plotting/plot_aaf_track.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/continuous_integration/environment_actions.yml b/continuous_integration/environment_actions.yml index 0505f245ac..02258fb287 100644 --- a/continuous_integration/environment_actions.yml +++ b/continuous_integration/environment_actions.yml @@ -23,7 +23,7 @@ dependencies: - pytest-mpl - coveralls - pandas - - shapely<1.8.3 + - shapely - pip - lazy_loader - cmweather diff --git a/examples/plotting/plot_aaf_track.py b/examples/plotting/plot_aaf_track.py index 6fe58272f3..cf584d37ad 100644 --- a/examples/plotting/plot_aaf_track.py +++ b/examples/plotting/plot_aaf_track.py @@ -19,10 +19,10 @@ # Use GeographicPlotDisplay for referencing. # NOTE: Cartopy is needed! -display = act.plotting.GeographicPlotDisplay(ds) +display = act.plotting.GeographicPlotDisplay(ds, figsize=(12, 10)) # Plot the ARM AAF flight track with respect to Pressure Altitude -display.geoplot('press_alt', lat_field='lat', lon_field='lon', gridlines=True) +display.geoplot('press_alt', lat_field='lat', lon_field='lon', stamen=None) # Display the plot plt.show()