Skip to content

Commit

Permalink
Merge pull request #469 from NCAR/extra_axes
Browse files Browse the repository at this point in the history
Bug fix for multiple axes
  • Loading branch information
Heather Craker committed Jul 13, 2022
2 parents 817c646 + b8d38cf commit 6e5e4be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gallery/Vectors/NCL_vector_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
# Plot:

# Generate figure (set its size (width, height) in inches)
plt.subplots(figsize=(10, 7))
plt.figure(figsize=(10, 7))

# Generate axes using Cartopy projection
ax = plt.axes(projection=ccrs.PlateCarree())
Expand Down
2 changes: 1 addition & 1 deletion Gallery/Vectors/NCL_vector_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# Plot:

# Generate figure (set its size (width, height) in inches)
plt.subplots(figsize=(10, 5.25))
plt.figure(figsize=(10, 5.25))

# Generate axes using Cartopy projection
ax = plt.axes(projection=ccrs.PlateCarree())
Expand Down
2 changes: 1 addition & 1 deletion Gallery/Vectors/NCL_vector_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# this plot does not look as identical as the NCL version.

# Generate figure (set its size (width, height) in inches)
fig, ax = plt.subplots(figsize=(10, 7.25))
fig = plt.figure(figsize=(10, 7.25))

# Generate axes using Cartopy projection
ax = plt.axes(projection=ccrs.PlateCarree())
Expand Down

0 comments on commit 6e5e4be

Please sign in to comment.