GitHub

Original file line numberDiff line numberDiff line change

@@ -525,9 +525,7 @@ for i, (uhat_0, α, β) in enumerate(zip(uhat_0s, αs, βs)):

525525

simulate_workers(worker, T, ax,

526526

# By setting diff=False, it will give u_t

527527

diff=False, name=r'$u_{{{}, t}}$'.format(i))

528-
529-

ax.axhline(y=u_0, xmin=0, xmax=0, color='grey',

530-

linestyle='dashed', label=r'$u_{i, 0}$')

528+
531529

ax.legend(bbox_to_anchor=(1, 0.5))

532530

plt.show()

533531

```

@@ -554,8 +552,6 @@ for i, (uhat_0, α, β) in enumerate(zip(uhat_0s, αs, βs)):

554552
555553

# This controls the boundary of plots

556554

ax.set_ylim(ymin=-3, ymax=3)

557-

ax.axhline(y=u_0, xmin=0, xmax=0, color='grey',

558-

linestyle='dashed', label=r'$u_{i, 0}$')

559555

ax.legend(bbox_to_anchor=(1, 0.5))

560556

plt.show()

561557

```

Read the original on github.com ↗