Skip to content

Commit

Permalink
Merge pull request #505 from PCMDI/portrait_for_click_maps
Browse files Browse the repository at this point in the history
Looks good to me
  • Loading branch information
durack1 committed Aug 18, 2017
2 parents 66ce8fe + b6ce333 commit a6c40fd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/python/graphics/portraits.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,9 +1008,9 @@ def plot(self, data=None, mesh=None, template=None,
meshfill = x.createmeshfill(source=tid)

if mesh is None:
x.plot(MV2.ravel(data), M, template, meshfill, bg=bg)
else:
x.plot(MV2.ravel(data), mesh, template, meshfill, bg=bg)
mesh = M

x.plot(MV2.ravel(data), mesh, template, meshfill, bg=bg)

# Now prints the rest of the title, etc...
# but only if n==1
Expand Down Expand Up @@ -1092,6 +1092,7 @@ def plot(self, data=None, mesh=None, template=None,
x.plot(self.PLOT_SETTINGS.time_stamp, bg=bg, continents=0)
if self.PLOT_SETTINGS.logo is not None:
self.PLOT_SETTINGS.logo.plot(x, bg=bg)
return mesh, template, meshfill

def set_colormap(self, x):
cols = (
Expand Down

0 comments on commit a6c40fd

Please sign in to comment.