@@ -227,11 +227,11 @@ function make_plots_generic(
227227 for (col, path) in enumerate (output_path)
228228 # CairoMakie seems to use this Label to determine the width of the figure.
229229 # Here we normalize the length so that all the columns have the same width.
230- LABEL_LENGTH = 40
230+ LABEL_LENGTH = 50
231231 normalized_path =
232232 lpad (path, LABEL_LENGTH + 1 , " " )[(end - LABEL_LENGTH): end ]
233233
234- CairoMakie. Label (fig[0 , col], path )
234+ CairoMakie. Label (fig[0 , col], normalized_path )
235235 end
236236 end
237237 return fig
@@ -1606,25 +1606,20 @@ function make_plots(::EDMFSpherePlots, output_paths::Vector{<:AbstractString})
16061606
16071607 short_name_tuples = pair_edmf_names (short_names)
16081608
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
16161611 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 (
16201615 slice (
16211616 get (simdir; short_name, reduction, period),
16221617 lon = 0.0 ,
16231618 lat = lat,
16241619 ) 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+ ] . .. ,
16281623 )
16291624
16301625 var_groups_z = [
0 commit comments