Skip to content

Commit

Permalink
Added smooth() before plotting
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Tolley <[email protected]>
  • Loading branch information
samadpls and ntolley committed Aug 2, 2024
1 parent 1efbeba commit 49541b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/howto/plot_batch_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def summary_func(results):
dpl_waveforms = []
for data_list in simulation_results['simulated_data']:
for data in data_list:
dpl_waveforms.append(data['dpl'][0].data['agg'])
dpl_waveforms.append(data['dpl'][0].data['agg'].copy().smooth(30))

plt.figure(figsize=(10, 6))
for waveform in dpl_waveforms:
Expand Down

0 comments on commit 49541b6

Please sign in to comment.