Skip to content

Commit

Permalink
ENH: Bug fix for geoplot example (#722)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: zssherman <[email protected]>
  • Loading branch information
3 people authored Oct 9, 2023
1 parent 0daf249 commit 5c273b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion continuous_integration/environment_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies:
- pytest-mpl
- coveralls
- pandas
- shapely<1.8.3
- shapely
- pip
- lazy_loader
- cmweather
Expand Down
4 changes: 2 additions & 2 deletions examples/plotting/plot_aaf_track.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 5c273b4

Please sign in to comment.