Skip to content

Commit 0b42556

Browse files
committed
Rename plates.timeprofile into plates.nbplates
1 parent 0cd4f37 commit 0b42556

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stagpy/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ def _index_collection(arg):
193193
('vzratio',
194194
Conf(0., True, None, {}, True,
195195
'Ratio of mean vzabs used as threshold for plates limits')),
196-
('timeprofile', switch_opt(False, None,
197-
'nb of plates as function of time')),
196+
('nbplates', switch_opt(False, None,
197+
'Plot number of plates as function of time')),
198198
('distribution', switch_opt(False, None,
199199
'Plot plate size distribution')),
200200
('zoom',

stagpy/plates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def cmd():
318318
_write_trench_diagnostics(step, vrms_surf, fid)
319319
plot_at_surface(step, conf.plates.plot)
320320
plot_scalar_field(step, conf.plates.field)
321-
if conf.plates.timeprofile:
321+
if conf.plates.nbplates:
322322
time.append(step.timeinfo.loc['t'])
323323
itr, ird = detect_plates(step, conf.plates.vzratio)
324324
nb_plates.append(itr.size + ird.size)
@@ -338,7 +338,7 @@ def cmd():
338338
axis.set_xlabel(r"$\phi$-span")
339339
saveplot(fig, 'plates_size_distribution', step.isnap)
340340

341-
if conf.plates.timeprofile:
341+
if conf.plates.nbplates:
342342
figt, axis = plt.subplots()
343343
axis.plot(time, nb_plates)
344344
axis.set_xlabel("Time")

0 commit comments

Comments
 (0)