Skip to content

Commit 91d63ed

Browse files
committed
Unify 1D lagend entries to use a space between b/c and ireg
1 parent 4b10740 commit 91d63ed

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

ext/GridVisualizeMakieExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ function gridplot!(ctx, TP::Type{MakieType}, ::Type{Val{1}}, grid)
327327
map(g -> bregionmesh1d(g, gridscale, i), ctx[:grid]);
328328
color = bcmap[i],
329329
linewidth = 4,
330-
label = "b$(i)",
330+
label = "b $(i)",
331331
)
332332
end
333333

ext/GridVisualizePlutoVistaExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function gridplot!(ctx, TP::Type{PlutoVistaType}, ::Type{Val{1}}, grid)
152152

153153
for icell in 1:num_cells(grid)
154154
ireg = cellregions[icell]
155-
label = crflag[ireg] ? "c$(ireg)" : ""
155+
label = crflag[ireg] ? "c $(ireg)" : ""
156156
crflag[ireg] = false
157157

158158
x1 = coord[1, cellnodes[1, icell]]
@@ -189,7 +189,7 @@ function gridplot!(ctx, TP::Type{PlutoVistaType}, ::Type{Val{1}}, grid)
189189
for ibface in 1:num_bfaces(grid)
190190
ireg = bfaceregions[ibface]
191191
if ireg > 0
192-
label = brflag[ireg] ? "b$(ireg)" : ""
192+
label = brflag[ireg] ? "b $(ireg)" : ""
193193
brflag[ireg] = false
194194
x1 = coord[1, bfacenodes[1, ibface]]
195195
PlutoVista.plot!(

ext/GridVisualizePyPlotExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function gridplot!(ctx, TP::Type{PyPlotType}, ::Type{Val{1}}, grid)
168168

169169
for icell in 1:num_cells(grid)
170170
ireg = cellregions[icell]
171-
label = crflag[ireg] ? "c$(ireg)" : ""
171+
label = crflag[ireg] ? "c $(ireg)" : ""
172172
crflag[ireg] = false
173173

174174
x1 = coord[1, cellnodes[1, icell]] * gridscale
@@ -188,7 +188,7 @@ function gridplot!(ctx, TP::Type{PyPlotType}, ::Type{Val{1}}, grid)
188188
for ibface in 1:num_bfaces(grid)
189189
ireg = bfaceregions[ibface]
190190
if ireg > 0
191-
label = brflag[ireg] ? "b$(ireg)" : ""
191+
label = brflag[ireg] ? "b $(ireg)" : ""
192192
brflag[ireg] = false
193193
x1 = coord[1, bfacenodes[1, ibface]] * ctx[:gridscale]
194194
ax.plot(

0 commit comments

Comments
 (0)