Skip to content

Commit 8247cf0

Browse files
committed
made minor edits to plotting_tools.py
\pi to \pi prime; thicker crossed markers; subplots fine adjustments
1 parent bbb37c3 commit 8247cf0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

visualiser_debugger/plotting_tools.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def set_cax_axes(self,cax,n):
6262
if hasattr(self, 'axvline'): cax.axvline(self.axvline,c='k',lw=0.5)
6363
if hasattr(self, 'marker'):
6464
for marker in self.marker:
65-
cax.plot(marker[0],marker[1],marker='x',c=marker[2], ms=18, mew=2)
65+
cax.plot(marker[0],marker[1],marker='x',c=marker[2], ms=18, mew=4)
6666
if hasattr(self, 'rects'):
6767
for rect in self.rects:
6868
cax.add_patch(rect)
@@ -133,6 +133,7 @@ def plot(self,method='imshow',inner=False,suptitle="",rect=[0, 0.03, 1, 0.95],as
133133

134134
plt.suptitle(suptitle)
135135
plt.tight_layout(rect=rect)
136+
plt.subplots_adjust(hspace = .000005)
136137

137138
if self.N > 1:
138139
return ims, caxs, baxs
@@ -261,7 +262,7 @@ def labels():
261262
'buoy' : r'buoyancy',
262263
'rhoX' : r'$\rho / \Theta$, mass-weighted inverse pot. temp.',
263264
'rhoY' : r'$P$, mass-weighted potential temperature',
264-
'p2_nodes' : r'$\pi$, nodal Exner pressure'
265+
'p2_nodes' : r'$\pi^\prime$, Exner pressure perturbation'
265266
}
266267
return labels_dict
267268

0 commit comments

Comments
 (0)