@@ -525,9 +525,7 @@ for i, (uhat_0, α, β) in enumerate(zip(uhat_0s, αs, βs)):
|
525 | 525 | simulate_workers(worker, T, ax, |
526 | 526 | # By setting diff=False, it will give u_t |
527 | 527 | 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 | + |
531 | 529 | ax.legend(bbox_to_anchor=(1, 0.5)) |
532 | 530 | plt.show() |
533 | 531 | ``` |
@@ -554,8 +552,6 @@ for i, (uhat_0, α, β) in enumerate(zip(uhat_0s, αs, βs)):
|
554 | 552 | |
555 | 553 | # This controls the boundary of plots |
556 | 554 | 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}$') |
559 | 555 | ax.legend(bbox_to_anchor=(1, 0.5)) |
560 | 556 | plt.show() |
561 | 557 | ``` |
|