@@ -227,11 +227,11 @@ function make_plots_generic(
227
227
for (col, path) in enumerate (output_path)
228
228
# CairoMakie seems to use this Label to determine the width of the figure.
229
229
# Here we normalize the length so that all the columns have the same width.
230
- LABEL_LENGTH = 40
230
+ LABEL_LENGTH = 50
231
231
normalized_path =
232
232
lpad (path, LABEL_LENGTH + 1 , " " )[(end - LABEL_LENGTH): end ]
233
233
234
- CairoMakie. Label (fig[0 , col], path )
234
+ CairoMakie. Label (fig[0 , col], normalized_path )
235
235
end
236
236
end
237
237
return fig
@@ -1606,25 +1606,20 @@ function make_plots(::EDMFSpherePlots, output_paths::Vector{<:AbstractString})
1606
1606
1607
1607
short_name_tuples = pair_edmf_names (short_names)
1608
1608
1609
- # The hierarchy is:
1610
- # - A vector looping over variables
1611
- # - Containing, a vector looping over latitudes
1612
- # - Containing, tuples with one or two variables
1613
- # - Repeated for each simdir
1614
- # All of this is flattened out to be a vector of tuples (with the two gridmean/updraft
1615
- # variables)
1609
+ # Create a flat sequence of variable groups iterating over variable,
1610
+ # latitude, and simulation directory
1616
1611
var_groups_zt = vcat (
1617
- map_comparison (simdirs, short_name_tuples) do simdir, name_tuple
1618
- return [
1619
- (
1612
+ [
1613
+ map_comparison (simdirs, latitudes) do simdir, lat
1614
+ return (
1620
1615
slice (
1621
1616
get (simdir; short_name, reduction, period),
1622
1617
lon = 0.0 ,
1623
1618
lat = lat,
1624
1619
) for short_name in name_tuple
1625
- ) for lat in latitudes
1626
- ]
1627
- end ... ,
1620
+ )
1621
+ end for name_tuple in short_name_tuples
1622
+ ] . .. ,
1628
1623
)
1629
1624
1630
1625
var_groups_z = [
0 commit comments