Skip to content

Commit

Permalink
DOC: Make sure everything is cleared between area plots
Browse files Browse the repository at this point in the history
This helps with memory usage when running generating all these plots.
  • Loading branch information
dopplershift committed Oct 30, 2023
1 parent 5725fcf commit 70b16f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/make_areas.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def generate_area_file(app):
if area in states_provinces:
code = textwrap.dedent(f"""
.. plot::
:context: reset
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
Expand All @@ -75,6 +76,7 @@ def generate_area_file(app):
else:
code = textwrap.dedent(f"""
.. plot::
:context: reset
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
Expand Down

0 comments on commit 70b16f4

Please sign in to comment.