make intermediate display more readable

This commit is contained in:
Thibault Barnouin
2022-04-25 16:22:18 +02:00
parent 3770a78940
commit eaec0729c3
7 changed files with 20 additions and 16 deletions

View File

@@ -81,6 +81,7 @@ def plot_obs(data_array, headers, shape=None, vmin=0., vmax=6., rectangle=None,
be saved. Not used if savename is None.
Defaults to current folder.
"""
plt.rcParams.update({'font.size': 10})
if shape is None:
shape = np.array([np.ceil(np.sqrt(data_array.shape[0])).astype(int),]*2)
fig, ax = plt.subplots(shape[0], shape[1], figsize=(10,10), dpi=200,
@@ -147,6 +148,7 @@ def plot_Stokes(Stokes, savename=None, plots_folder=""):
wcs = WCS(Stokes[0]).deepcopy()
# Plot figure
plt.rcParams.update({'font.size': 10})
fig = plt.figure(figsize=(30,10))
ax = fig.add_subplot(131, projection=wcs)