Skip to content

Commit

Permalink
check if mapc2p is not None (value set in data.py)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjleveque committed Sep 22, 2020
1 parent 57a1316 commit 7e56471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/visclaw/frametools.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def plot_frame(framesolns,plotdata,frameno=0,verbose=False):
if skip_patches_outside_xylimits is None:
# User didn't set. Set to True unless there's a mapped grid

MappedGridExists = plotdata.mapc2p
MappedGridExists = (plotdata.mapc2p is not None)
if not MappedGridExists:
# check every item in case there's a mapc2p:
for itemname in plotaxes._itemnames:
Expand Down

0 comments on commit 7e56471

Please sign in to comment.