Skip to content

Commit

Permalink
fix overlay figure
Browse files Browse the repository at this point in the history
  • Loading branch information
observingClouds committed Oct 9, 2023
1 parent 57ef62d commit 8091c68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/plot_radiosonde_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def main():
props = dict(boxstyle="round", facecolor="white", alpha=0.8)

# Trajectory of the radiosonde
fig_track, ax = plt.subplots(figsize=(15, 5))
ax = plt.subplot(projection=ccrs.PlateCarree())
fig_track = plt.figure(figsize=(15, 5))
ax = fig_track.add_subplot(projection=ccrs.PlateCarree())
ax.coastlines(color="black")
ax.stock_img()
ax.gridlines(
Expand All @@ -172,7 +172,7 @@ def main():
alpha=0.5,
linestyle="--",
)
traj = plt.scatter(
traj = ax.scatter(
lons,
lats,
c=alts,
Expand Down

0 comments on commit 8091c68

Please sign in to comment.